在vscode中连接wsl是没有问题,但是在cursor 中连接wsl会报这个错误:Command "wSL: Connect to WSL resulted in an error command ‘remote-wsl.connect’ not found

Command “wSL: Connect to WSL resulted in an error command ‘remote-wsl.connect‘ not found_wsl

解决办法

卸载wsl插件,重新安装插件即可

Command “wSL: Connect to WSL resulted in an error command ‘remote-wsl.connect‘ not found_安装插件_02

Command “wSL: Connect to WSL resulted in an error command ‘remote-wsl.connect‘ not found_vscode_03