Skip to main content
Post formatting
Source Link
Nimantha
  • 6.5k
  • 6
  • 32
  • 78

From Visual Studio Code:

Fold All (Ctrl+K Ctrl+0) folds all regions in the editor. Unfold All (Ctrl+K Ctrl+J) unfolds all regions in the editor. Fold Level X (Ctrl+K Ctrl+2 for level 2) folds all regions of level X, except the region at the current cursor position. 

Fold All (Ctrl+K Ctrl+0) folds all regions in the editor.

Unfold All (Ctrl+K Ctrl+J) unfolds all regions in the editor.

Fold Level X (Ctrl+K Ctrl+2 for level 2) folds all regions of level X, except the region at the current cursor position.

enter image description here

From Visual Studio Code

Fold All (Ctrl+K Ctrl+0) folds all regions in the editor. Unfold All (Ctrl+K Ctrl+J) unfolds all regions in the editor. Fold Level X (Ctrl+K Ctrl+2 for level 2) folds all regions of level X, except the region at the current cursor position. 

enter image description here

From Visual Studio Code:

Fold All (Ctrl+K Ctrl+0) folds all regions in the editor.

Unfold All (Ctrl+K Ctrl+J) unfolds all regions in the editor.

Fold Level X (Ctrl+K Ctrl+2 for level 2) folds all regions of level X, except the region at the current cursor position.

enter image description here

Source Link
jumping_monkey
  • 8.1k
  • 2
  • 60
  • 75

From Visual Studio Code

Fold All (Ctrl+K Ctrl+0) folds all regions in the editor. Unfold All (Ctrl+K Ctrl+J) unfolds all regions in the editor. Fold Level X (Ctrl+K Ctrl+2 for level 2) folds all regions of level X, except the region at the current cursor position. 

enter image description here