Minimize file explorer shortcut in VSCode

1 min read  •  30 Nov 2021


In large codebase(s), while developing a feature or fixing a bug, sometimes the file explorer becomes cluttered, and minimizing folders one by one is not the best way to do it. Here is a shortcut by which you can minimize all the folders in one go.

Steps to minimize all folders and files in explorer in VSCode

  • In the explorer, press Cmd + (left arrow)