Module/Server Module Collapsing Functions

Hi, for readability purposes, I like the feature of being able to collapse functions in the server modules and modules. However, when I click away from the module and return, they are no longer collapsed. Is there a way for them to stay collapsed?



There is a shortcut to quickly fold all, but it only folds at the top level, so it doesn’t help if you have a class with many methods.

There is a feature request for that shortcut: Shortcut to fold/unfold all the code in the IDE editor

1 Like

Thanks. Do I need to select all the code before doing that?

The Ctrl-Alt-[ works without selecting the code, but it only works at the top level.

See the last post on that thread for details.