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

Close the VSCode tab after disconnection #291

Open
kevintraver opened this issue Aug 19, 2023 · 3 comments
Open

Close the VSCode tab after disconnection #291

kevintraver opened this issue Aug 19, 2023 · 3 comments

Comments

@kevintraver
Copy link

When saving the document in vscode, the focus is brought back to the browser, and then the popup message says 'Disconnected', but the document remains as a tab in VS Code.

Is this by design? Is there a way to automatically have the document close after saving? Otherwise there ends up a bunch of open documents when switching back to VSCode.

@fregante
Copy link
Owner

When saving the document in vscode, the focus is brought back to the browser

This should not happen. I assume you're talking about "closing the connection from the browser". In which case, yes, the tab is not meant to automatically close.

In the Sublime Text plugin this is actually an option, so I'd accept a PR to automatically close the tab on disconnection.

@kevintraver
Copy link
Author

I am referring to both ways. If you are in the browser or in the text editor. In both cases, once the disconnect happens, the text editor tab remains open.

@kevintraver
Copy link
Author

@fregante fregante changed the title VS Code: Does not close editor window on save Close the VSCode tab after disconnection Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants