vscode add wsl2 vscode terminal code example
Example: vs code set ubuntu wsl as default terminal
- Go to vs code > settings.json
- Replaces "terminal.integrated.shell.windows" with:
{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
}