You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugConfirmed bugs or reports that are very likely to be bugsenhancementintegrationsIssues related to editor and shell integrations that ship in Desktopnot-plannedNot in the team's roadmapwindowsIssues specific Desktop usage on Windows
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.
Reacted by Ben Arnett, cypress evelyn masso, hsm207, Tony Alves, Hao Ren, Marcel J Bennett, Josh Wiley, Tao Hansen, James Bennett, Mtothexmax and 3 more
This is the first Google search result when I search for "github desktop open vscode in wsl". It would be a hugely appreciated feature to simplify my dev workflow and surely the workflow for any other WSL-based developers.
Reacted by Tao Hansen, Ben Merryman and Paul Bernhardt
Bumping this. GitHub desktop would be much more useful if I didn't have to do 2 clicks (1 to open, 1 to switch to WSL extension) when launching VS Code.
This should be a configuration change of changing the shell calling the commands. This looks possible and the intent under the Options > Integrations tab (see below) looks promising with drop-downs for External Editor and Shell, however; once changed to VS Code and WSL, VS Code still does not launch with WSL remoted in.
As an aside and to my surprise: searching WSL on GitHub docs returns nothing.
@outofambit hi! do you still work on the terminal team? Just wondering if this issue is on the radar. I think it would just involve piping the command through the Ubuntu terminal vs Cmd.exe
This is the first Google search result when I search for "github desktop open vscode in wsl". It would be a hugely appreciated feature to simplify my dev workflow and surely the workflow for any other WSL-based developers.
My search was 'github desktop open in vsc wsl'
feature would certainly be appreciated. Sad its not-planned
For anyone that wants a temporary solution, you can create program to launch vscode with the right arguments, then just choose Configure custom editor in the settings, configure your programm and you are good to go.
You can use my version but beware that it creates a 100Mb executable just to save you 1 click, for me it's 100% worth it.
Let me know if you create a version in a better suited language so that i don't have to use this huge executable for a very simple task.
bugConfirmed bugs or reports that are very likely to be bugsenhancementintegrationsIssues related to editor and shell integrations that ship in Desktopnot-plannedNot in the team's roadmapwindowsIssues specific Desktop usage on Windows
Activity
outofambit commentedon May 8, 2020
Thanks for writing this up @pluma! Will be sure to take a look at this when we spend more time on WSL(2).
just1a-person commentedon Dec 17, 2020
TL;DR
code.cmdgets run when you invokecodefrom cmd or powershellcodeis a shell script that runs when you invokecodein WSLAlexStormwood commentedon Jan 15, 2023
This is the first Google search result when I search for "github desktop open vscode in wsl". It would be a hugely appreciated feature to simplify my dev workflow and surely the workflow for any other WSL-based developers.
beingmerry commentedon Feb 3, 2023
Bumping this. GitHub desktop would be much more useful if I didn't have to do 2 clicks (1 to open, 1 to switch to WSL extension) when launching VS Code.
This should be a configuration change of changing the shell calling the commands. This looks possible and the intent under the Options > Integrations tab (see below) looks promising with drop-downs for External Editor and Shell, however; once changed to VS Code and WSL, VS Code still does not launch with WSL remoted in.
As an aside and to my surprise: searching WSL on GitHub docs returns nothing.
beingmerry commentedon Feb 3, 2023
@outofambit hi! do you still work on the terminal team? Just wondering if this issue is on the radar. I think it would just involve piping the command through the Ubuntu terminal vs Cmd.exe
genobear commentedon Jan 7, 2025
My search was 'github desktop open in vsc wsl'
feature would certainly be appreciated. Sad its not-planned
TheRealSyler commentedon Apr 4, 2025
For anyone that wants a
temporarysolution, you can create program to launch vscode with the right arguments, then just chooseConfigure custom editorin the settings, configure your programm and you are good to go.You can use my version but beware that it creates a 100Mb executable just to save you 1 click, for me it's 100% worth it.
Let me know if you create a version in a better suited language so that i don't have to use this huge executable for a very simple task.