There is a nice feature in Visual Studio: you can create special code areas which can be minimized just as class methods in Eclipse are minimized. Like:
#region
//some code
#endregion
Is there a way do make such pleasant feature in Eclipse?
Using Ctrl + M. This is the key binding for a command that will toggle the currently active part between its 'maximized' and its 'restored' (i.e. normal) states.
Type the first few letters of the class, method, or variable you want. Then hit the Ctrl + Space key combination. This brings up a list of autocomplete recommendations along with method signatures, variable types, and more.
It's called "collapse all", click on the editor view that you want to collapse all your methods in go to help> key assist...> double click "collapse all">, everything is collapsed
Click on ' - (minus)' symbol on the side of the editor, Right click on minus symbol , Go to folding / Collapse All
Keyboard shortcut : Ctrl+Shift+NumbPad_Divide
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