Changing project path in Aptana Studio 3 - project

Say I have my project in c:\desktop\project_A and I want to change the path of it to point at the c:\desktop\project_B folder instead. How do I do that without deleting the project from the list and creating a new one?

You could achieve this in the current Studio 3:
Open Navigator view with Window > Show View > Other > General > Navigator;
Right-click on project_A in Navigator view and select Move...;
Modify the location to what project_B resides and click OK.
Hope this helps.

Related

vb.net add icon to form title bar

This is a Visual studio 2019 WinForms project on a Windows 7 64 bit machine
I know how to use the Properties to add an icon but if the icon is to be embedded with the EXE file that is not the process to use. I have also created a folder named Resources and place the icon in the folder not sure that is the best idea based on the EXE might not include the folder
Here is what I have tried Right Click Project > Properties > Application > Icon ComboBox > Browse
Select the icon which is named s.ico and is 32 X 32
I also tried to cut and paste from the solution explore to the Debug folder BIG MISTAKE
Now I have no Release folder ?
The question is this the correct process ?
Do I still need code to make this icon show on all the project forms ?
One form does not have a title bar
OK I am adding to this Question
I created a test project with only a form. textbox and button
I added a icon to the button and it shows when the project is run
For some reason when I added the icon to the button a Resource Folder was created that contained the cat.ico I DID NOT CREATE the FOLDER( See New Screen Shot )
Now I followed the steps to add an icon to the titlebar NO LUCK
Here is where I have no idea what is going on
If I right click on the two icon files One says the Build Action is "content"
If I right click on the other icon the Build Action is "None"
I see the option to select Build Action "Embedded Resource"
Question What does Build Action do?
And if "Embedded Resource" is selected does that mean the file is included in the EXE?
New Screen Shot
I am not sure this is a good way to solve the question
WHY because I do not understand how the code works BUT IT WORKS
Here is what I did I Right Click Project > Properties > Application > Icon ComboBox > Browse Select the icon
The icon in question is in the project > See the Screen Shot
Then I added this 7 year old code I found on SO
Stackoverflow Link
Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath)
OK So now someone please explain how this works ?
Based on my limited knowledge I would say this will include the icon in the EXE file
(Project > Properties > Application > Icon ComboBox > Browse
Select the icon)
this indeed is the right way to select an icon for your project.
The icon will be found after that in your project folder not the debug folder.
After debugging your Project it will be embedded with it and the EXE file icon will be changed to the selected Icon.
No need to add it to the resources.
Finally, to set the same icon for all your forms, take a look at this topic:
Set same icon for all my Forms
or of course, you could change it manually one by one in the (properties) menu, in (Icon), then browse to your Ico File.

IntelliJ IDEA: how to quickly navigate to a particular package

A project has too many packages and packages are very deep. How to quickly navigate to a particular package?
For example, a package com.nmj.edu.pox.els.excel.service in the project, how to quickly navigate to it? Is there a way like Navigate to a file?
How to quickly locate org.junit.internal.builders package according to the full package path when junit.extensions.ActiveTestSuite is selected or the directory tree is folded?
I
My question is not about locating that package according to the opened file.
In Navigate | File action you can filter by directory (corresponding to a package) name with the / separator. With this action you can navigate to the package in the project tool window or open the class from this package in Editor.
Then, depending on what you need
use Main menu | Navigate | Jump to Navigation Bar action (Alt+Home default Windows shortcut) to select any other class in that package or browse package structure
or use Main menu | Navigate | Select In... (Alt+F1) -> Project View action to navigate to this class in Project tool window.
Also with the Packages view and the Flatten Packages option enabled in Project tool window you could be able to find the package using speed search (provided that the corresponding package node is visible in the view).
Relate request in tracker: IDEA-35362
Once you have opened the file, click on Scroll from Source.
It will open the whole package hierarchy for the selected file.
PFB screenshot for reference to locate the Scroll from Source button.
Note: There is no keymap for this.
Well, there is actually. Have you checked the Intellij IDEA Navigation Docs?

How can you tell where your solution is opened from?

I have a VB.net solution that I made a complete copy of and placed on a different drive and now I cannot tell which solution I have been working in.
Is there a way I can tell where my solution was opened from?
In the Solution Explorer pane, right click your Project (e.g., WindowsApplication1), and select "Open Folder in Windows Explorer" from the menu that pops up. That way you can see the actual directory it is stored in.
When the Project is selected in the Solution Explorer, you can see the full path of the containing folder in the Misc > Project Folder property in the Properties pane.
F4 will display the Properties pane if it is not visible.
For a Solution, the Misc > Path property shows its full path.
And, similarly, the Misc > Full Path property shows a file's full path.
And emphasising these Properties are only valid when the Solution Explorer was the last pane that was active.
You can also hover over the project name in the recent items in the Start page: that will show the project's full path on the status bar.

How to automatically navigate to current class in IntelliJ IDEA Project Tool Window?

I would like to have a keyboard shortcut in IntelliJ IDEA that has the following effect: the tree in the project tool window expands to show the currently open class (or file), and this class becomes selected in the tree.
Is this possible?
Navigate (View in older versions)| Select In... (Alt+F1), Project View (Enter).
It's also possible to enable Autoscroll from Source option in the Project View so that current file is automatically selected.
IntelliJ IDEA 2019
Left click on the wheel > Always Select Opened File
There is also: Open Files with Single Click - the selected file from the tree view will be opened in the right side.
Old IntelliJ versions
Right click on Project/Packages area > Autoscroll from Source
or
Left click on the wheel > Autoscroll from Source
There is also: Autoscroll to Source - the selected file from the tree view will be opened in the right side.
Try
Alt F1(Select Target dialogue) + Enter.
Click at this icon on the top of tree-box.
you can do this also using the upper dynamic menu that change for every opened file. just click twice on the last folder and the file will be on the same folder branch
also good for pycharm
You can also make your own key combo to the "select in tree view" via prefs. I often do: shift + cmd + a and then just write select in.. and then press enter.

Merging two VB.Net Projects

we are new to Visual Basic Programing, We are working on a project, which has modules. My team worked on these modules and prepared 3 separate Visual Studio Projects. Now, I want to combine then into one Visual Studio Project for Integration purposes.
We are using Visual Studio 2010.
In the solution explorer window (Default is top right) you will need to:
Right click on your Solution
go down to Add
select Existing Project
This will pop up a windows browser window, you will need to navigate to the place that you have the files saved, then click Open
Repeat steps 1-4 for all subsequent items.
Based on what you are saying, it sounds like youll need to add references to the modules in the main project:
Ensure that you are viewing all files in your solution by selecting Show All Files in the Solution Explorer
go down to References
click Add Reference - a window will pop up
in the top left, select Projects
in the popup window Right click on the Name of the project and select Add Reference
You should be good from here.
Your question is not clear wether or not you want to add the code from the individual projects to one project or add your projects to one solution.
In the first instance use the project that you want to be the main project and right-click on the project and select add existing item to select the .vb module file that you want to add.
In the second instance create a blank solution File -> New Project -> Other Project Types -> Visual Studio Solutions -> Blank Solution, then right-click on the new solution and select Add -> Existing project to add your projects