背景
更新 VS Code 1.104 之后,Ctrl+I 快捷键会显示 Copilot 的 AI 对话框,但这原本是用来进行属性等 API 提示的,因此需要取消这个 AI 对话框功能。
解决
参考文档:https://vscode.js.cn/docs/copilot/setup#_remove-ai-features-from-vs-code
全局用户配置(未开通 Copilot 的用户推荐)
在设置中配置:将 chat.disableAIFeatures 设置为 true。
提示:打开设置快捷键为 Ctrl+,。
工作目录配置(已开通 Copilot 的用户推荐)
在 .vscode/settings.json 中添加以下配置:
{"chat.disableAIFeatures":true}


