Reputation: 1440
For example, I have a folder structure like this:
src
└─test
├─java
└─com
└─google
└─test
│ AllTests.java
in order to see file AllTests.java, I need to click many times to expand the tree. I'm wondering if there is an option as "expand all" to expand the tree in 1 click.
Upvotes: 10
Views: 10542
Reputation: 95
Using Eclipse Juno and Mac OS X 10.7.5 you can expand with Alt+Right
, but this expand everything, including methods and variables.
Upvotes: 1
Reputation: 1825
Simply pressing Numpad_Multiply
works for me for expanding all the subtree of the selected item in the package explorer, with Eclipse Luna.
Upvotes: 2
Reputation: 3288
Check out with Shift + Numpad_multiply
for expanding all and Shft + Ctrl + Numpad_divide
to collapse all
Upvotes: 8
Reputation: 22070
You can avoid the hierarchical layout by using the flat package presentation (which is default):
If you typically just want to find the file which you have currently opened in the editor, then please activate editor linking:
Upvotes: 11