vs code collapse all sections code example
Example: visual studio code collapse all
// Fold
Ctrl + K + 0 // fold everything that could be folded
Ctrl + K + 1 // fold just the main branches
// Unfold
Ctrl + K + J // unfold everything
// Fold
Ctrl + K + 0 // fold everything that could be folded
Ctrl + K + 1 // fold just the main branches
// Unfold
Ctrl + K + J // unfold everything