vscode-remote-release
vscode-remote-release copied to clipboard
Open new WSL window and close local one.
As in title, it could be nice if opening a remote-wsl session could also close/replace the current window.
What command do you use to open a Remote-WSL session?
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
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
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)
What is the status of this request? I know I would get a great deal of benefit from it.
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?
This is a terrible experience from a UX perspective, and not seemless at all when operating on both Windows files and WSL files.
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.
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.