vscode中,Copilot无法在docker容器中使用

问题:

使用vscode时,copliot无法在打开的docker container中使用,点击Retry Connectino没有反应

解决方法 1:

  1. 点击左下角齿轮标志,打开Settings
  2. 搜索Extension Kind
  3. 点击Edit in settings.json
  4. 修改settings.json文件(建议在UserRemoteSettings.json中都试试):
"remote.extensionKind": {
	"GitHub.copilot": ["ui"],
}

该方法强制让copliot从vscode运行,而非默认的容器中运行
问题链接

解决方法 2:

  1. 点击左下角齿轮标志,打开Settings
  2. 搜索proxy support
  3. 选择off
  4. 重新打开vscode

扩展无法使用代理,因此无法连接,关闭后即可
问题链接

你可能感兴趣的:(Linux,vscode,copilot,docker)