Automatically collapse functions

I am making a program and have lots of function, and having them all out can be messy. However, I don't have the time to go through all of them and collapse them 1 by 1 - and this also gets reset whenever I restart the IDE / reopen the project. Is there some way to do this automatically?

1 comment
Comment actions Permalink

Hi, you can go to Preferences | Editor | General | Code Folding and enable folding for method bodies by default.

Also, you can use keyboard shortcuts to collapse all/expand all (ctrl-shift-minus/ctrl-shift-plus by default).

1

Please sign in to leave a comment.