I recently changed the name of my default wsl distro name using the Windows registry. Now when I call vscode’s command line command code .
it opens the folder in the wrong distro. Does anyone know how to change the default –remote location when calling code
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
To resolve my issue I ended up doing:
wsl --shutdown
in PowershellUpon reopening Ubuntu and running
code .
it opened to the default distro set on wslReplace "your_desired_distro_name" with your desired distro name.