Here are some tips for working with code folding:
- Bird's eye view of a module:
- A. Fold All
- B Unfold classes
- Fold/unfold whole functions:
- A. Unfold All
- B Fold functions
- Now when you unfold a function it appears fully unfolded. If you want to fold it back just fold it with the mouse or with cursor on the function def select Fold Nearest.
- Fold out of a heavily nested function
- Press Ctrl+/ (Fold Nearest) a few times until you fold up to the level you want.