How can I collapse all definitions and methods within the Android Studio editor?
Visual Studio has that option on Edit-->Outlining
, but I cannot find
Here's screenshot for quick reference:
View -> Tool Windows -> Structure
It's the equivalent to outline in eclipse. It gives you a far better overview of the class than folding.
Windows:
Collapse: ctrl + shift + Numpad-
Expand: ctrl + shift + Numpad+
This work for me in Windows:
minimize: CTRL + SHIFT + -
expand: CTRL + SHFT + +
New Android Studio come up with a lot of new functions. These are the commands you can use to fold different type of code.
Optionally to collapse single method inside class rather than all methods @once use cmd
and -
on Mac
Cheers