Organize RubyMine favorites as links rather than subtrees - rubymine

In RubyMine 6.0.3 when some folder is added to favorites, it appears in favorites as a subtree. I am interested in a not expandable link which leads me to corresponding source folder when double clicked. Is this possible?

Is this possible?
Unfortunately No -- it was not designed to work this way.
But ... with favourite folder you can use Ctrl+F1, 1 (Navigate | Select In... | Project View) instead of clicking on it to select and focus that location in Project View panel.
Instead of adding that folder to a Favourites list ... use Bookmarks.
Yes -- just bookmark a folder in Project View panel (F11 -- Navigate | Bookmarks | Toggle Bookmark). When you click on such bookmark .. IDE will locate and focus that folder in Project View panel for you.

Related

Is there a way in Eclipse to organize projects into folders?

The new folder command seems to create a folder within a folder. I have so many projects that they are hard to organize by name only. Is there an Eclipse better way?
You can't put projects in to folders.
You can change the Package and Project explorer views to show 'Working Sets' as the top level elements in the view (use the view menu 'Top Level Elements' to do this - the view menu is the small down arrow at the top right of the view window).

How to remove *.dep files from project

i created project from existing source in netbeans. I wonder if it is posible to exclude *.dep from files listed in project in netbeans?
You can modify global settings like this:
Menu Tools -> Options
Click Miscellaneous Button at the top of dialog.
Select Files tab under the row of buttons.
Edit the field labeled Ignored Files Pattern add |.*\.dep before the last $
Java per project instructions (because I already wrote them):
Select the project in project pane on the left.
Right click for popup menu.
Select Properties near the bottom of the menu.
Select Sources in the categories list on the left of dialog.
Click the Includes/Excludes button near the bottom-right of dialog.
Enter *.dep in the Excludes field.

Eclipse open all files in project

How can I open all source code files in a eclipse project at once? It takes too long to open all files in large projects by expanding out the packages and clicking on all the files.
I would like to know how to do this so I can ctrl+e to classes quickly.
It is not a good way to keep open all source files in a project because a project may have hundreds of source files. There is NO direct way to open all source files in eclipse.
However you can do it in two ways:
Using open resource dialog:
Create a working set which includes your project. Refer this.
Press Ctrl+Shift+R and select the your working set(Click on the downward pointed triangle button)
Type *.java in the text box. Dialog will list all java files in your project. Press Ctrl+A to select all files. Click on open button.
Using search dialog:
Select your project in Package explorer/Navigator/Projects view.
Press Ctrl+H. Go to File search tab. Leave "Containing text:" as blank. In File name patterns text box enter *.java. In scope section choose Selected resource option. Press search button. All source files will be displayed in search view.
Change the view layout of Search view to Show as list(In search view toolbar click on the downward pointed triangle button)
Press Ctrl+A to select all results. Right click and select open option.

How to compare two files in Eclipse?

I want to compare two files. One is in the current project and the other is in the backup directory. I know how to compare if they were in the same project.
How can I compare in Eclipse?
And what is Flex navigator in Eclipse?
Open the Navigator with the Main menu: Window->Show View->Navigator.
You can select two or more files in the Navigator using Ctrl-click, or Command-click in OSX. Now Right-click any one of the selected files, and select the menu item: Compare With->Each Other.
The problem is that your alternate file might not be in the Navigator, e.g. your backup directory isn't listed in the Navigator. If not, Right-click in the Navigator and choose the menu item: New->Folder. In the resulting dialog click the Advanced>> button beneath the Folder Name field, choose Link to alternate location (Linked Folder), and browse to add your backup directory.
Now using the Navigator you'll be able to select the two files, and use Compare With.
You can similarly compare files using e.g. the Package Explorer.

Zend Studio for Eclispse Expand All feature

is there a way to select a folder and somehow expand all the child folders of the selected folder? It would be very useful.
The issue that I imagine is that because in Zend Studio php files are expandable also so they can show their classes namespaces methods and etc if there is a way to expand a folder and all its subfolders it shouldn't expand php files too.
Thanks in advance :)
In the project view, this feature does not exists.
However, you can right click on your top folder then click "search". This will open a search window. Simply press the "search" button without any search field entered and another window will appear with the results. In this window, you have a small "expand all" button in the top corner.
You can also right click on your top folder in that window and the "expand all" option will be displayed there too.