Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

is there a shortcut to reduce the code in android studio

i have big code in every file in my project and i need a shortcut to reduce the whole code in specific file with one click instead of doing it manual

i have taken screenshot to explain it

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

in my case i am clicking manual to every single line and every time i am restarting android studio it expanded again i don’t know why

is there a way to do it

void help(){
print('i need help') ...
}
    

>Solution :

To fold:

Mac: Shift + ⌘ command + -

Windows/Linux: Shift + CTRL + -

To unfold:

Mac: Shift + ⌘ command + +

Windows/Linux: Shift + CTRL + +

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading