Reputation: 1059
I am trying to close all the open tabs in Visual Studio code. I could only find search results for the Visual Studio IDE but not code.
Upvotes: 8
Views: 11627
Reputation: 1059
For VS Code, When you right-click on any tab, you get a Close All
tabs option. Just click that. You can also use the shortcut below:
MacOS: command + K + W
Windows: Ctrl + K + W
To close one tab, just the usual:
MacOS: command + W
Windows: Ctrl + W
References: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
Upvotes: 17