英文:
Error Visual studio code can't find command 'CodeGPT: Set API Key' resulted in an error
问题
我想使用CodeGPT扩展,但是当我寻找API密钥部分时,VS Code报错
> 命令 'codegpt.setApiKeyCodeGPT' 未找到
,有人可以帮助我吗?
英文:
I want to use the CodeGPT extension but when I look for API Key part, VS code gives an error
> command 'codegpt.setApiKeyCodeGPT' not found
, can someone help me?
答案1
得分: 3
- 按下
cmd+shift+p
打开代码面板 - 搜索
Ask CodeGPT
,然后选择它 - 写一个问题(问题内容不重要,它不会被发送)
- CodeGPT 会提示你输入 API 密钥
答案来源于一个关于这个问题的 GitHub 问题。
英文:
I also get this error - you can workaround it by doing the following:
- Press
cmd+shift+p
to bring up the code pallete - Search
Ask CodeGPT
, and select it - Write a question (it doesn't matter what it is, it won't be sent)
- CodeGPT will prompt you for your API key
Answer sourced from a GitHub issue regarding the problem.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论