Eclipse has that "+/-" on the left to expand and collapse blocks of code.
I've got tens of thousands of lines to go through and would really like to just collapse everything, and selectively expand blocks to look at them.
Thanks!
Eclipse has that "+/-" on the left to expand and collapse blocks of code.
I've got tens of thousands of lines to go through and would really like to just collapse everything, and selectively expand blocks to look at them.
Thanks!
There is a hotkey, mapped by default to Ctrl+Shift+NUM_KEYPAD_DIVIDE.
You can change it to something else via Window -> Preferences, search for "Keys", then for "Collapse All".
A "Collapse All" command exists in recent builds (e.g. 3.2 M6) and is bound to "Ctrl+Shift+NUM_KEYPAD_DIVIDE" by default. You can also configure it in Preferences->Editor->Keys...
Hope that helps!
In addition to the hotkey, if you right click in the gutter where you see the +/-, there is a context menu item 'Folding.' Opening the submenu associated with this, you can see a 'Collapse All' item. this will also do what you wish.