VS Code中copilot突然不工作了,重新登github账号也没用
-
查看问题原因
菜单栏View - Output - 选择Github copilot chat,发现问题在连不上代理服务器
proxy-01.xxx.xxx.xxx用
grep -r "proxy-01" ~/.bashrc ~/.bash_profile ~/.profile /etc/environment 2>/dev/null查找是哪里写入了这个错误地址,发现是.bash_profile中写入的,遂修改之 -
修改完重启还是不行
这是因为服务器端VS Code Server缓存未清除,此时需要干掉它:
bash
Ctrl+Shift+P -> Remote-SSH: Kill VS Code Server on Host...
再重新登录VS Code,问题解决!