RobbB
RobbB

Reputation: 1354

Is there a way to make "folded code" stay folded in Android Studio?

I would like to keep code folded once I've folded it.

When I'm done with a window of code for an Activity I close it. Then when I come back to it, all the code opens up again... Would be nice if it stayed folded.

Is it possible to keep "folded code" folded in Android Studio?

Upvotes: 6

Views: 1074

Answers (1)

Hasan Khan
Hasan Khan

Reputation: 544

here how to set the default behavior

"File => Settings => Editor => Gerneral => Code Folding => Collapse by default => Method bodies".

you can also find language-specific options here.

Upvotes: 8

Related Questions