When working on a class with thousands of lines, minimizing some functions on the IDE makes it very handy to manage the code.
However, everytime we restart the IDE; or close the function: it will be re-opened again.
Is there a way to keep your 'minimizing' preferences?
The Alt+Enter shortcut on android studio will help automatically fix "Unresolved reference" error adding the import statements needed.
It's Shift + F12 . It will toggle collapse on all the blocks. Hope it helps.
It is simple and default: ( CTRL + Z ) This is for undo. Just press ( CTRL + SHIFT + Z ) for redo.
(for windows Users)
Same time All Methods Collapse : CTRL + SHFT + -
Same time All Methods Expand :CTRL + SHFT + +
(for Mac Users)
Same time All Methods Collapse : Command + SHFT + -
Same time All Methods Expand :Command + SHFT + +
You can go to Code > Folding > Collapse All
In my case the short-cut is CTRL+SHFT+/.
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