collapse in visual studio code example
Example 1: uncollapse all visual studio
Ctrl + M + P
Example 2: collapse all code visual studio
Visual studio
fold all: Ctrl + M + O
unfold all: Ctrl + M + P
Ctrl + M + P
Visual studio
fold all: Ctrl + M + O
unfold all: Ctrl + M + P