visual studio code minimize all code example Example: collapse vscode key ctrl + 0 to 9 : "to collaapsse level" ctrl + j : "to Fold all"