View: Unfold All Except Caret

view.unfoldAllExcept

Unfold every collapsed region except the ones containing the caret.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for View: Unfold All Except Caret, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.

See also