vscode icon indicating copy to clipboard operation
vscode copied to clipboard

WSL command "code-insiders ." opening project in Windows VSCode instead of WSL connected VSCode

Open M4RC0Sx opened this issue 1 year ago • 1 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: July 2023 (version 1.81)
  • OS Version: Windows 10 + WSL Ubuntu

Steps to Reproduce:

  1. Open a project from Ubuntu terminal using code-insiders .
  2. The project is opened in VSCode Insiders but not connected to WSL, it is connected to Windows and it adds a path like "\wsl.localhost\Ubuntu\home\user\Project" instead of "~/Project [WSL: Ubuntu]"

M4RC0Sx avatar Jul 07 '23 12:07 M4RC0Sx

I have the same issue. It happens on Insider edition (version: 1.81.0-insider) but not on stable (version: 1.80.0). Both installations are using version 0.80.2 of the WSL extension.

frxstrem avatar Jul 08 '23 11:07 frxstrem

Can you run VSCODE_WSL_DEBUG_INFO=true code . in the Ubuntu terminal to get more information?

aeschli avatar Aug 18 '23 13:08 aeschli

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

VSCodeTriageBot avatar Aug 26 '23 11:08 VSCodeTriageBot