idea 2024.1 copilot 的问题

40 天前
 RunPiggy
最近发现 Idea 2024.1 下 Copilot Chat 用不了,提示我已登录但需要授权,点击授权就提示 retrieving github device code copilot ,过会儿就报错:Sign in failed. Reason: Could not log in with device flow on github.com: Request timed out from lsp server, request id: 1024, error code: 1001

试了网上好多方法都没解决:
·修改 idea 代理为 127.0.0.1 啊
·梯子改全局模式啊
·改 hosts 啊
·重装 copilot 插件啊、旧版本插件啊
都不行。

但是用 VS 就没问题。
643 次点击
所在节点    问与答
5 条回复
RunPiggy
40 天前
Chat 用不了,但是智能提示能用
donaldturinglee
40 天前
你在 idea 里面配置 proxy 是能正常用的吧?
RunPiggy
36 天前
@donaldturinglee 不行的,Chat 现在一直用不了。
glmapper
4 天前
+1 升级到新版本之后各种尝试都不行( chat )
RunPiggy
3 天前
@glmapper 我的已经好了,你可以尝试下:
1·下载一个 PyCharm 并确保 Copilot 能正常使用

2·在 IDEA 中将 GitHub Copilot 网络设置为 Native
转到文件 > 设置 > GitHub Copilot > 网络并将其设置为“Native”。

3·清除 IDEA 缓存


4·在 IDEA 中再次登录 copilot
如果看:
“Waiting for GitHub authentication... Enter the authentication code on the GitHub website to proceed”,则说明 copilot 大概恢复正常了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://tanronggui.xyz/t/1102341

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX