collapse and expand vscode code example
Example 1: collapse all code vscode
Use :
Ctrl + K + 0 to fold all
Ctrl + K + J to unfold all
Example 2: how to collapse only methods in vscode
Ctrl + K + 3 to collapse all methods in a class in vscode
Use :
Ctrl + K + 0 to fold all
Ctrl + K + J to unfold all
Ctrl + K + 3 to collapse all methods in a class in vscode