Friday, 28 January 2022

VS Code Fold + Unfold regions like brackets and braces

 https://code.visualstudio.com/docs/editor/codebasics#:~:text=Use%20Shift%20%2B%20Click%20on%20the,collapsed%20region%20at%20the%20cursor.


  • Fold (Ctrl+Shift+[) folds the innermost uncollapsed region at the cursor.
  • Unfold (Ctrl+Shift+]) unfolds the collapsed region at the cursor.
  • Toggle Fold (Ctrl+K Ctrl+L) folds or unfolds the region at the cursor.
  • Fold Recursively (Ctrl+K Ctrl+[) folds the innermost uncollapsed region at the cursor and all regions inside that region.

No comments:

Post a Comment