How to collapse code sections in VS Code
Jul 13, 2020
š¤ Problem
How do you fold code sections in Visual Studio Code?
ā Solution
ā + k + 0 : Fold all levels
ā + k + 1 : Level 1 (Namespace)
ā + k + 2 : Level 2 (Class)
ā + k + 3 : Level 3 (Methods)
ā + k + 4 : Level 4 (Blocks)
ā + k + 4 : Level 4 (Blocks)
ā + k + [ or ] : Current cursor block
ā + k + j : Unfold

I'm Wes. I live in Boston and work on Wonderment.