visual-studio-code

How do I fold/collapse/hide sections of code in Visual Studio Code?


How do I fold or collapse sections of code in Visual Studio Code?

Is this feature supported?


Solution

  • Folding has been rolled out and is now implemented since Visual Studio Code version 0.10.11. There are these keyboard shortcuts available:


    References: https://code.visualstudio.com/docs/getstarted/keybindings