在windows使用了代理,rule模式,安装wsl2后,使用vscode连接wsl,在wsl Linux中,不能使用copilot

设置->搜索“proxy support”,改为off,让vscode扩展不使用代理

WSL_Linux Ubuntu2404_无法使用vscode copilot插件Weixin Screenshot_20250312170115
把“Http: Proxy Support (Applies to all profiles)”改为 off

Use the proxy support for extensions. When during remote development the Http: Use Local
Proxy Configuration setting is disabled this setting can be configured in the local and the
remote settings separately.
off

就可以了

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐