Skip to main content

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + K, Ctrl + 0 (zero) on Windows and Linux
    • + K, Ctrl +0 (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + K, Ctrl + J on Windows and Linux
    • + K, Ctrl + J on macOS

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

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + K, Ctrl + 0 (zero) on Windows and Linux
    • + K, Ctrl +0 (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + K, Ctrl + J on Windows and Linux
    • + K, Ctrl + J on macOS

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

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + K, Ctrl + 0 (zero) on Windows and Linux
    • + K, +0 (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + K, Ctrl + J on Windows and Linux
    • + K, + J on macOS

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

added 55 characters in body
Source Link
mikemaccana
  • 126.1k
  • 113
  • 441
  • 544

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + (K =>, Ctrl + 0) (zero) on Windows and Linux
    • + (K =>, Ctrl +0) (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + (K =>, Ctrl + J) on Windows and Linux
    • + (K =>, Ctrl + J) on macOS

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

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + (K => 0) (zero) on Windows and Linux
    • + (K => 0) (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + (K => J) on Windows and Linux
    • + (K => J) on macOS

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

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + K, Ctrl + 0 (zero) on Windows and Linux
    • + K, Ctrl +0 (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + K, Ctrl + J on Windows and Linux
    • + K, Ctrl + J on macOS

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

adds references, more understanding symbolism?
Source Link

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + (K, Ctrl +=> 0) (zero) on Windows and Linux
    • + (K, +=> 0) (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + (K, Ctrl +=> J) on Windows and Linux
    • + (K, + => J) on macOS

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

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + K, Ctrl + 0 (zero) on Windows and Linux
    • + K, + 0 (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + K, Ctrl + J on Windows and Linux
    • + K, + J on macOS

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

  • Fold folds the innermost uncollapsed region at the cursor:

    • Ctrl + Shift + [ on Windows and Linux
    • + + [ on macOS
  • Unfold unfolds the collapsed region at the cursor:

    • Ctrl + Shift + ] on Windows and Linux
    • + + ] on macOS
  • Fold All folds all regions in the editor:

    • Ctrl + (K => 0) (zero) on Windows and Linux
    • + (K => 0) (zero) on macOS
  • Unfold All unfolds all regions in the editor:

    • Ctrl + (K => J) on Windows and Linux
    • + (K => J) on macOS

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

deleted 76 characters in body
Source Link
Gama11
  • 34.6k
  • 9
  • 92
  • 107
Loading
Active reading [<https://en.wikipedia.org/wiki/Visual_Studio_Code>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134
Loading
Formatting to more quickly spot the shortcut you need.
Source Link
Jeroen
  • 64.4k
  • 47
  • 231
  • 372
Loading
All proper shortcut for Fold All and Unfold All on OS X
Source Link
Loading
clarify: 0 = zero, not O
Source Link
lynn
  • 10.9k
  • 1
  • 48
  • 81
Loading
added 154 characters in body
Source Link
Rosdi Kasim
  • 26.4k
  • 25
  • 139
  • 165
Loading
deleted 326 characters in body
Source Link
Brocco
  • 65.4k
  • 12
  • 74
  • 77
Loading
added 175 characters in body
Source Link
Brocco
  • 65.4k
  • 12
  • 74
  • 77
Loading
Link to implementation release notes as this feature now exists
Source Link
Brocco
  • 65.4k
  • 12
  • 74
  • 77
Loading
Source Link
Brocco
  • 65.4k
  • 12
  • 74
  • 77
Loading