IntelliJ IDEA 13.1.0 Web Help

Function Shortcut Use this shortcut to...
Expand or or or or or or or or or or or or Expand method, class or any other foldable block of code at caret.
Collapse or or or or or or or or or or or Fold method, class or any other foldable block of code at caret.
Expand All or or or or or or or or or or Expand all folded blocks in the current source file.
Collapse All or or or or or or or or or or Collapse all foldable blocks in the current source file.
Fold Selection / Remove Region Collapse or expands the current selection. This option folds or unfolds arbitrary fragments of text.
Fold Code Block Collapse current block of code, even though that block does not have folding toggles, for example, if or when constructs.

See Also

Procedures:

Web Resources: