Tag not monitored by Microsoft.
Not a complete fix but you can type "Close remote connection" in the command palette and that'll fix some things
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Some time ago, I installed the WSL2 extension in Visual Studio Code. But soon, wsl2 starting using up my CPU to 100% and I had to uninstall this. After that, I don't know what happened but I couldn't use vscode anymore. Every time I open vscode, it gives an error stating, Extension 'Remote - WSL' is required to open the remote window. Do you want to install the extension?. even though wsl2 was uninstalled long ago. When prompted for reinstalling the extension, it started giving me errors like Windows Subsystem for Linux not detected. The Remote WSL extension requires Windows 10 with the Windows Subsystem for Linux feature installed. (which is quite obvious as I did not have wsl2). I surfed the net but the github issues are limited to collaborators only. Can anyone please help me with this?
Tag not monitored by Microsoft.
Not a complete fix but you can type "Close remote connection" in the command palette and that'll fix some things
Hi @Khushal Sonawat ,
Welcome to Microsoft Q&A forum.
Did you install the official extension called Remote - WSL or other third-party extension called WSL2 maybe?
If you try to annotate the related settings of WSL2 in VS Code’s settings file(settings.json), will this issue disappear?
BTW, as VS Code and extensions of VS Code related issue is currently not supported in the Microsoft Q&A forums, the supported products are listed over here: https://learn.microsoft.com/en-us/answers/products/ . You can post your issue here: Stack Overflow tagged visual studio code or here: GitHub vscode-remote-release (Issues).
Thanks for your understanding.
Best Regards,
Tianyu