microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.66k stars 286 forks source link

Uninstalled WSL2 but VSCODE still shows Local Extension - Installed > Remote-WSL #5910

Open darrenaddy opened 2 years ago

darrenaddy commented 2 years ago

I'm new to VSCode and was trying to develop in the WSL2 environment for doing Static Site Generator work using a GitHub Repository (which I am also new to). It was a nightmare and so I decided to uninstall WSL2 and VSCode and reinstall VSCode so that I could just use it on Windows. When I had it I must have also installed the "Visual Studio Code Remote Development Extension Pack".

No matter what I do, VSCode opens under a window titled Settings - myUsername [vscode-remote] and it shows Remote - WSL under Local - Installed extensions. It also shows VSCODE-REMOTE - Installed there. I can't uninstall because "No remote extension installed to resolve wsl".

I've uninstalled VSCode and restarted. I've deleted my .vscode folder and the appData & local appData folders associated with Visual Studio Code to try to get a clean reinstall of Visual Studio code, but not matter what it looks for WSL and opens under vscode-remote. The status bar (lower left) says: "Disconnected from vscode-remote"

How do I get rid of all traces of WSL2 and get Visual Studio Code working like it never knew WSL2 or VSCODE-REMOTE extension???? Thanks for your help. (Windows 10)

bamurtaugh commented 2 years ago

Thanks for reporting @darrenaddy. Would you be able to show a screenshot of what you see when you look at Remote-WSL in the Extensions view, so that I can understand how it looks installed/uninstalled, and what options you're given?