In the eclipse explorer package, how can I expand the tree in one click?

For example, I have a folder structure like this:

src └─test β”œβ”€java └─com └─google └─test β”‚ AllTests.java 

to see the AllTests.java file, I need to click many times to expand the tree. I am wondering if there is an β€œexpand all” option to expand the tree in 1 click.

+7
source share
4 answers

You can avoid a hierarchical layout by using a presentation with a flat package (default):

Screenshothot

If you usually want to find the file that you just opened in the editor, please activate the editor link:

enter image description here

+9
source

Refuse Shift + Numpad_multiply to expand all and Shft + Ctrl + Numpad_divide to collapse all

+7
source

Using Eclipse Juno and Mac OS X 10.7.5 can be expanded with Alt+Right , but it will expand everything, including methods and variables.

0
source

Just pressing Numpad_Multiply works for me to expand the entire subtree of the selected item in the package explorer using Eclipse Luna.

0
source

All Articles