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
my macbookpro
shift
+ cmd
+ ¡
(character or button before delete) Expand All
shift
+ cmd
+ '
(character or button after zero) Collapse All
windows
ctrl
+ shift
+ +
Expand All
ctrl
+ shift
+ -
Collapse All
Here are some helpful shortcuts for folding stuff.
For Windows:
Minimize: CTRL + SHFT + '-'
Expand: CTRL + SHFT + '+'
For Mac:
Minimize: COMM + SHFT + '-'
Expand: COMM + SHFT + '+'
If you want turn off all collapsing you need uncheck all fields in the Settings > Editor > General > Code Folding
Also you can use hot keys
ctrl + shift + + — expand code blocks
ctrl + shift + - — collapse code blocks
I had this issue too. I figured out to click gear button where right top of project menu section. Then I unselected Show members option.
Windows 10
ctrl
+ shift
+ +
to Expand All
ctrl
+ shift
+ -
to Collapse All