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