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

WSL: Add multi distro support #118

Closed
sulume opened this issue May 4, 2019 · 3 comments
Closed

WSL: Add multi distro support #118

sulume opened this issue May 4, 2019 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality wsl Issue in vscode-remote WSL

Comments

@sulume
Copy link

sulume commented May 4, 2019

Issue Type: Bug

I have two WSL Apps installed via MS Store. The command "Remote-WSL: New Window" always opens window with one of them without prompting which to use.

Thank you for all the efforts on the remote feature. I can't wait for this to be stable.

Extension version: 0.32.0
VS Code version: Code - Insiders 1.34.0-insider (473af338e1bd9ad4d9853933da1cd9d5d9e07dc9, 2019-05-01T00:22:05.899Z)
OS version: Windows_NT x64 10.0.17134
Remote OS version: Linux x64 4.4.0-17134-Microsoft

@AngellusMortis
Copy link

It is probably openning your default instance. In PowerShell/CMD you can run wslconfig /l to see all of your installed WSL instances and which is the default.

PS C:\> wslconfig /l
Windows Subsystem for Linux Distributions:
Arch (Default)
Ubuntu
kali-linux

You can then use wslconfig /s <name> to set a specific instance as default. For example, you can use wslconfig /s Ubuntu to set that instance as default.

I do agree, this would be a nice new feature to have.

@kieferrm kieferrm added the wsl Issue in vscode-remote WSL label May 4, 2019
@sulume
Copy link
Author

sulume commented May 4, 2019

Thank you for your advise. That worked. I could switch over to the other instance.

I see there's a global setting for the WSL default and this feature simply relies on it, so this is not really a bug. However I can touch only one instance at a time even with multiple windows, which is not very useful in practice. This issue would be a feature request.

@aeschli
Copy link
Contributor

aeschli commented May 6, 2019

Yes, that's known, Multi distro support will be added in a future release.

@aeschli aeschli added the feature-request Request for new features or functionality label May 6, 2019
@aeschli aeschli changed the title Cannot select WSL instance WSL: Add multi distro support May 6, 2019
@aeschli aeschli self-assigned this May 15, 2019
@aeschli aeschli closed this as completed Jun 19, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality wsl Issue in vscode-remote WSL
Projects
None yet
Development

No branches or pull requests

4 participants