Is there way to expand all folders in Eclipse project view and search results?

meva picture meva · Jul 1, 2010 · Viewed 38.3k times · Source

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?

Answer

Lindsay picture Lindsay · May 13, 2011

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.