Home > database >  is there a shortcut to reduce the code in android studio
is there a shortcut to reduce the code in android studio

Time:07-17

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

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') ...
}
    

CodePudding user response:

To fold:

Mac: Shift ⌘ command -

Windows/Linux: Shift CTRL -

To unfold:

Mac: Shift ⌘ command

Windows/Linux: Shift CTRL

  • Related