Skip to content

Close the VSCode tab after disconnection #291

Open

Description

@kevintraver

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.

Activity

  1. fregante commented on Aug 19, 2023

    @fregante
    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.

  2. kevintraver commented on Aug 20, 2023

    @kevintraver
    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.

  3. kevintraver commented on Aug 21, 2023

    @kevintraver
    Author
  4. changed the title [-]VS Code: Does not close editor window on save[/-] [+]Close the VSCode tab after disconnection[/+] on Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions