2

每次我启动 VS Code 时,都会要求我登录 GitHub以启用GitHub Copilot建议。不管做了多少次。

在此处输入图像描述

我有点困惑,因为我也有运行良好的 GitLens 扩展。

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


操作系统:Ubuntu 20.04.3 Focal Fosa

4

2 回答 2

0

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

去:

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

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

于 2022-02-15T06:30:06.453 回答
0

安装 gnome 密钥环。

yay -S gnome-keyring在拱门上。 apt install gnome-keyring在 ubuntu 上。

于 2022-03-05T12:10:30.073 回答