'How to install Visual Studio Code on WSL2?
I want to use Visual Studio Code already installed on Windows for WSL2 (I use ubuntu app on Microsoft Store). When I cd into the directory to use and type code . then show an error message
To use Visual Studio Code with the Windows Subsystem for Linux, please install Visual Studio Code in Windows and uninstall the Linux version in WSL. You can then use the
codecommand in a WSL terminal just as you would in a normal command prompt.
I have installed Remote - WSL plugin on Visual Studio Code and it works but can't open Visual Studio Code on ubuntu app.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
