Zend Studio for Eclispse Expand All feature - eclipse

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.

Related

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.

What is the IntelliJ equivalent from Eclipse, show file in the package explorer view

I am more familiar in Eclipse and need the IntelliJ equivalent. In Eclipse, I could open a java class, right click, show file in package explorer and it would highlight the file on the left. What is the IntelliJ equivalent.
You can highlight a file you have open in the editor in a number of views using the Select In...menu that can be opened using ALT-F1 when the editor window has the cursor.
The most usual ones (Project/Packages) are found under the menu opened by ALT-F1 and then right arrow.
You can also double click the circle/cross button ontop of the Project view
it will show you the current active file in the project structure
You can turn on Autoscroll from source in Project Tool Window so that the file/class to the left is scrolled to as soon as you open a file for edit.
If this option is on, IntelliJ IDEA automatically navigates from a file in the editor to the corresponding node (file, class, field, method, etc.) in the Project tool window.
Note that selecting this option makes the Scroll to Source button unavailable.
It is called "select in project view".
You'd better edit your keymap ! (alt+F1 right arrow is not very efficient...)
file > settings > keymap > select in project view : alt+E for example
You can press Alt-Home, it goes to the navigation bar.
Go to or select the package by pressing left arrow.
Press F4 now to see it in the project view.

"Replace all" in project / selection not working?

In Netbeans 7.2, after selecting packages or a project and opening the dialog Edit->Replace or Edit->Replace in projects, I can't find a button or option to replace all occurrences. The only way I found is to open a file, select Edit->Replace and then "Replace all", but this obviously applies only to the current file.
How to find & replace in a custom selection over files, packages, projects, ...?
Edit
The "Search Results" window looks like this after Edit->Replace in projects...->Find:
There is no button or menu to do the replacement.
If you use Edit -> Replace (in Projects) a Search Results window appears, listing all matches available for your selection.
But now you have to click on Replace xy matches for completion.
Note that the Search Results window must be large enough so that all buttons show up!

How to Reveal in Project Navigator automatically

I want to reveal the currently edited file in the project navigator in xcode
I know about the right-click and Reveal in Project Navigator
How to highlight opened file in XCode 4 on the "Project Navigator" panel?
But it's a manual task
I want it to show EVERY TIME I switch files - like the 2 yellow arrows on top of the Eclipse IDE
I want the project navigator to always highlight the currently edited file.
Thanks,
Nur
Hum... I don't have the answer of your question and I really would like to know it.
But I know something better than right clicking, that is called : ⌘-shift-J
Your hands are on the keyboard, at least you won't have to get the mouse...
At the bottom of project navigator panel "Show only recent file" filter option is given select it to view only recent files edited

How do i configure the right click menu in the 'project explorer' view?

I installed a fresh eclipse and i have a problem : when i right click somewhere in the project explorer view, the menu is missing some links and some that i dont' want to see are there.
How can i modify that ?
Bonus question : i can't rename files, folders, classes, nothing. The 'rename' link in the toolbar (it doesn't appear in the right click menu !) is disabled.
Thanks
I can only answer your bonus question. Rename in Eclipse is only available in Navigator view. But you can use Refactor->Rename in other views as well. The bahavior is slighly different from normal Rename but most of the time, it is what you wanted.