Running the program opens Visual Studio Code in wsl2 on windows 10 with Ubuntu.
OneWithNoFace opened this issue · comments
I tried running the program on wsl2 on windows 10 with ubuntu.
The program opens an instance of Visual studio code instead. And does not detect that the extension is installed.
On windows 10 with wsl2 enabled we can either install the vscode extensions either locally (windows 10) or remotely (ubuntu wsl2).
I tried running the command that checks for the entensions. "code --list-entensions".
On Windows Powershell it runs successfully and shows the extension that are installed locally.
On Ubuntu WSL2 it opens the instance of vscode and shows that the option is invaid.
$ code --list-extensions
Ignoring option list-extensions: not supported for code.
Yes, this doesn't work on VSCode remote servers (which WSL also is, I suppose).
The extension should be installed at ~/.vscode-server/extensions/golang.go-X.X.X
. This could be something that govalidate
checks in vscode-server environments.