VSCode Windows WSL WSL + VSCode Setup Visual Studio Code to work with WSL2. In Windows: Visual Studio Code: - Extensions > "Remote - WSL" > Install In Ubuntu: # cd a project # start vscode code . # does one time setup (install VS Code Server), then starts editor.