-
Fold All:
- Windows and Linux: Ctrl + K Ctrl +
0 - Mac: ⌘ + K ⌘ +
0
- Windows and Linux: Ctrl + K Ctrl +
-
Unfold All:
- Windows and Linux: Ctrl + K Ctrl + J
- Mac: ⌘ + K ⌘ + J
To see all available shortcuts in the editor:
- Windows and Linux: Ctrl + K Ctrl + S
- Mac: ⌘ + K ⌘ + S

All shortcuts kept up to date by the Visual Studio Code team: Visual Studio Code Shortcuts