Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX: Ctrl+W should not close VSCode when there are no tabs #50671

Closed
leocb opened this issue May 29, 2018 · 2 comments
Closed

UX: Ctrl+W should not close VSCode when there are no tabs #50671

leocb opened this issue May 29, 2018 · 2 comments
Assignees

Comments

@leocb
Copy link

leocb commented May 29, 2018

Issue Type: Feature Request

This is a very "opinion based" issue, so let's reach common ground together!

Since VSCode can remain open without any tabs, IMO, the Ctrl+W shortcut should not close the editor when there are no tabs left.
Google Chrome, for example, cannot exist without a tab, so it makes sense when closing the last tab the browser should close too. This is not the case with VSCode since we can still do stuff without any tabs.

I'm used to hold Ctrl+W to close all my tabs, and everytime I end up closing the editor too. This is not desired.

What do you think? should this behavior change?

VS Code version: Code 1.23.1 (d0182c3, 2018-05-10T16:04:33.747Z)
OS version: Linux x64 4.15.0-22-generic

@vscodebot
Copy link

vscodebot bot commented May 29, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@bpasero
Copy link
Member

bpasero commented May 29, 2018

@leocb you can just unbind that keybinding to close the window via Cmd+W from the keybindings editor. There is also a related issue that asks for showing a confirmation dialog before quitting.

@bpasero bpasero closed this as completed May 29, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants