未找到 GitHub 命令“github.copilot.generate”

nor*_*off 7 visual-studio visual-studio-code github-copilot

我已经安装了 GitHub Copilot,我也有权使用它,但是当我尝试 CTRL + Enter 时,我收到此错误消息:

command 'github.copilot.generate' not found
Run Code Online (Sandbox Code Playgroud)

我尝试卸载并重新安装,但仍然没有任何变化。

编辑:我发现 GitHub copilot 实际上可以在我的笔记本电脑上运行,但不能在我的台式机上运行,​​即使它们登录到有权使用该扩展的同一帐户。我尝试从笔记本电脑中完全删除 vs code,但也没有帮助。

小智 0

这在 Windows 上对我有用

  1. %USERPROFILE%/AppData/Roaming/Code/CachedExtensionVSIXs
  2. 删除所有 copilot 文件并重新打开 vsCode。