Skip to content

Open new WSL window and close local one. #1673

Open

Description

@Elia0107

As in title, it could be nice if opening a remote-wsl session could also close/replace the current window.

Activity

  1. aeschli commented on Oct 15, 2019

    @aeschli
    Contributor

    What command do you use to open a Remote-WSL session?

  2. Elia0107 commented on Oct 18, 2019

    @Elia0107
    Author

    Hi, from f1 or the icon in bottom left, there are some choices. One of them is "Reopen folder in...", but works only if I have folder added in workspace. I want some like "Open in WSL" closing the current "windows" window

  3. changed the title [-]open Remote-WSL replacing current window[/-] [+]Open new WSL window and close local one.[/+] on Oct 21, 2019
  4. legendre6891 commented on Mar 28, 2021

    @legendre6891

    Thanks to the developers of this extension and +1 to this feature.

    I came looking for this since I saw that the Remote-SSH extension already had support for this

    image

  5. kanlukasz commented on Nov 16, 2021

    @kanlukasz

    Yes, this is something I miss too
    Every time I have to use a New WSL Windows which opens a new VSCode instance.
    It would be better to have a choice of type:

    • New WSL Windows
    • Current Windows WSL (or something like that)
  6. JosephLalli commented on May 1, 2022

    @JosephLalli

    What is the status of this request? I know I would get a great deal of benefit from it.

  7. aeschli commented on May 2, 2022

    @aeschli
    Contributor

    Just to make I'm sure, what you are asking is a command that brings up an empty remote window in place of the currently opened window.
    Alle existing editors are closed?

  8. et304383 commented on May 2, 2022

    @et304383

    This is a terrible experience from a UX perspective, and not seemless at all when operating on both Windows files and WSL files.

  9. JosephLalli commented on May 2, 2022

    @JosephLalli

    Just to make I'm sure, what you are asking is a command that brings up an empty remote window in place of the currently opened window. Alle existing editors are closed?

    "A command that brings up an empty remote window new remote window with all currently open files/tabs in place of the currently opened window" That's the feature request, I think. Sometimes I'll be working, I'll have a dozen different files open, and I'll realize I'm not in a WSL environment. I'd like the ability to chose to close the editor window and reopen all tabs in a new WSL window without having to save and close my work beforehand.

  10. aeschli commented on May 6, 2024

    @aeschli
    Contributor

    The command Connect to WSL (which is in the remote menu by default since a while) opens a WSL distro in the current window.
    If you already have a folder (or workspace) open and what to reopen the a WSL window, for that we have WSL: Reopen Folder in WSL
    Reopen with all currently open files/tabs is unfortunately not as trivial to implement as is sounds. It would be good if we capture this in a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitywslIssue in vscode-remote WSL

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions