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!
Thanks!
Please sign in to leave a comment.
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:
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.