Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - Shortcut - Collapse all files in explorer

Can you anyone provide the shortcut for collapse all files in visual studio code explorer?

like image 223
Ramya Ramachandran Avatar asked Nov 13 '18 03:11

Ramya Ramachandran


People also ask

How do I collapse all folders in Vscode?

How to Collapse All Folders in VS Code? To fold all the folders in your code: Enter command >fold and hit enter.

How do you collapse Explorer Vscode?

“vs code explorer collapse keys” Code Answer'sOn Windows: Shift + Alt + Up/Down. On Mac: Shift + Option + Up/Down. On Ubuntu: Ctrl + Shift + Alt + Up/Down.


1 Answers

Open the Keyboard Shortcut by pressing Ctrl + K then Ctrl + S and search for Collapse, you will see the Collapse Folders in Explorer key binding (It is empty by default). Press the + button to add your desired key binding.

Now you can enjoy your shortcut.

like image 129
Thanh Le Hai Hoang Avatar answered Sep 28 '22 03:09

Thanh Le Hai Hoang