Is there a way to collapse all the blocks of code into an eclipse?

Asked

Viewed 197 times

-1

I have giant files with many blocks of code, currently know that when pressing +- expands or collapses the current block, someone knows how to expand or collapse all at once in Eclipse?

2 answers

2

There is a shortcut, mapped by default to Ctrl+Shift+NUM_KEYPAD_DIVIDE (split key on numeric keyboard).

You can change it to something else via Window -> Preferences, search for "Keys", then "Collapse All".

To open all blocks the shortcut is Ctrl+Shift+NUM_KEYPAD_MULTIPLY (key multiplication on numeric keyboard).

In the Eclipse Extension Pydev, close all blocks is Ctrl + 9

To open all the blocks, it is Ctrl + 0

(Translated from Soen).

1


Yes exists by default is: Ctrl + Shift + NUM_KEYPAD_DIVIDE.

You can change this shortcut to: Window -> Preferences, and look up "Keys" then "Collapse All".

And to open all blocks the default is: Ctrl + Shift + NUM_KEYPAD_MULTIPLY.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.