Fold All: Windows: Ctrl + K Ctrl + 0 Mac: ⌘ + K ⌘ + 0 Unfold All: Windows: Ctrl + K Ctrl + J Mac: ⌘ + K ⌘ + J