Fold All:
Windows: Ctrl + K Ctrl + 0
Mac: ⌘ + K + 0
Unfold All:
Windows: Ctrl + K Ctrl + J
Mac: ⌘ + K + J
To see all available shortcuts in the editor:
Windows: Ctrl + K + S
Mac: ⌘ + K + S
All shortcuts kept up to date by the Visual Studio Code team: Visual Studio Code Shortcuts
Like this ? (Visual Studio Code version 0.10.11)
Fold All (Ctrl+K Ctrl+0)
Unfold All (Ctrl+K Ctrl+J)
Fold Level n (Ctrl+K Ctrl+N)