View: Fold All

view.foldAll

Fold every foldable region.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for View: Fold All, then press Enter. It also has a default keybinding:

Emacs C-cf

See also