每次 VS Code 启动时都会出现“登录 GitHub”提示启用 GitHub Copilot

Bek*_*Bek 12 ubuntu visual-studio-code github-copilot

每次启动 VS Code 时,系统都会要求我登录 GitHub以启用GitHub Copilot建议。不管这样做很多次。

在此输入图像描述

我有点困惑,因为我也有 GitLens 扩展,它工作得很好。

还有其他人遇到过类似的事情吗?


操作系统:Ubuntu 20.04.3 Focal Fosa

Bek*_*Bek 2

不是一个解决方案,但找到了一个不安全的解决方法。需要您自担风险使用它!

去:

  1. 密码和密钥
  2. 在密码下选择登录
  3. 双击vscodevscode.github-authentication/github.auth
  4. 点击删除密码按钮
  5. 您可能还想删除vscodevscode.microsoft-authentication/microsoft.login

这两个秘密/密码与 vscode 关联,如果保留默认值(未删除),则每次启动时都会提示您