Home > database >  How to close Vscode window without closing all tabs in macOS
How to close Vscode window without closing all tabs in macOS

Time:09-02

I switch between many projects, all having triple panes and many tabs open. When I'm not working on a project I close the window using the GUI by the normal red close window button. When I open it again all my tabs are as I've left.

How do I do it with a keyboard shortcut? Cmd W closes the current tab (which I don't want), Cmd Q quits Vscode completely (which I don't want either), closing all windows. How do I close a single Vscode window with keyboard, identical to hitting the close button with mouse, so that when I reopen the window in the future all my tabs are intact?

CodePudding user response:

Okay found the shortcut after searching with a better query on Google. It is:

Cmd Shift W

  • Related