I'm spending a lot of time manually expanding deeply-nested folders in tree views like the Project Explorer and the File Search result tree. Is there a keyboard shortcut or menu command to expand all folders?
The Eclipse search dialog box allows you to search for files that contain a literal or a character pattern in the entire workspace, a set of projects, a specific project or folders selects in the package explorer view. Clicking on the Search menu and selecting Search or File or Java. Clicking Ctrl + H.
Right click on the +/- sign and click collapse all or expand all.
You can also use the following keyboard shortcuts: To open all folders at the same level as the current folder, press ALT+SHIFT+RIGHT ARROW. To close all folders at the same level as the current folder, press ALT+SHIFT+LEFT ARROW.
windows->navigation->maximize active View or Editor(ctrl + M) .
In Windows:
Expand all all in project explorer is Shift+Numpad * (multiplty), as mentioned before. Collapse all in project explorer is Ctrl+Shift+Numpad - (subtract).
Alternatively, you can just jam on the right arrow to expand to the bottom of a selected tree, or jam on the left arrow to collapse back up to the top.
If you want to see all the shortcuts available for the particular context you are in, type Ctrl+Shift+L.
On Mac: Select a folder and press Option+ARROW_RIGHT to expand all subfolders in the Eclipse file explorer. Press Option+ARROW_LEFT to collapse all subfolders.
On some Mac keyboards the Option key is also labeled Alt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With