WSL2 repos should open in VSCode Remote #9721
Labels
bug
Confirmed bugs or reports that are very likely to be bugs
enhancement
integrations
Issues related to editor and shell integrations that ship in Desktop
windows
Issues specific Desktop usage on Windows
Projects
Describe the feature or problem you’d like to solve
When working with a repository from a WSL2 path (
\\wsl$\<distro name>\<path>
), launching VSCode will simply open the path as if it were a regular network path. As users using VSCode with WSL will most likely be using the Remote extension, this makes the "launch VSCode" button practically useless.Proposed solution
GitHub Desktop should recognize that a repository path is a WSL2 path and offer to launch VSCode from within WSL rather than from Windows.
Additional context
This feature request was prompted by my question at Satellite 2020: https://github.com/githubevents/satellite2020/discussions/8#discussioncomment-10795
The text was updated successfully, but these errors were encountered: