How to fully unfold / fold a single class?

I have a class with multiple methods, and some of the methods are folded. How can I fully collapse/fold that class (into a single line), or fully uncollapse/unfold that class (so every method in that class is also fully unfolded)?

Thanks!
2 comments
Comment actions Permalink
Hi there,

Have you tried Code | Folding | Collapse All/Expand All ? This will fully collapse/expand all elements in whole file.

Unfortunately there is no separate action that will fully expand/collapse only selected region/fold:
0
Comment actions Permalink

Use Code | Folding | Collapse Recursively/Expand Recursively. I see that by default, they're keyed with Ctrl+Alt+Numpad-, Numpad+ respectively.

For the unfold to happen properly, you must first place the cursor after the '...' dots that hide your source code.

0

Please sign in to leave a comment.