vscode ai代码补全插件 tab键接受失效

打开setting.json

Ctrl+Shift+P (Windows) 快捷键,然后输入setting.json,选择open user那个,路径一般是在C:\Users\Administrator\AppData\Roaming\Code\User

修改增加内容:

c 复制代码
{
    "editor.tabCompletion": "on",
    "editor.acceptSuggestionOnEnter": "on",
    // 添加以下配置
    "editor.suggestSelection": "first",
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.inlineSuggest.enabled": true,
    "editor.quickSuggestions": {
        "other": true,
        "comments": true,
        "strings": true
    }
}

然后重启或者更新

按 Ctrl+Shift+P (Windows) 或 Cmd+Shift+P (Mac)

输入 "Developer: Reload Window" 重新加载窗口

使用,代码推荐按tab就接受补全

相关推荐
猿儿本无心36 分钟前
仿VSCode做一个程序员快速装机工具
ide·vscode·编辑器
山川行3 小时前
关于《项目C语言》专栏的总结
c语言·开发语言·数据结构·vscode·python·算法·visual studio code
呆呆敲代码的小Y3 小时前
UnityMCP+Claude+VSCode,构建最强AI游戏开发环境
人工智能·vscode·游戏·unity·游戏引擎·u3d·mcp
不懒不懒3 小时前
安装python3.9.7和pycharm-community-2022.3.2.exe以及linux
linux·ide·python·pycharm
weixin_426689207 小时前
VSCODE 树莓派C语言开发环境建立
vscode·树莓派
飞翔的烤鸡翅8 小时前
Kilo Code在PyCharm上的一些实践
ide·python·pycharm·ai编程·kilo code
程序设计实验室8 小时前
是谁 2026 年还在用 Sublime Text 写代码?
ide
syjy29 小时前
零基础WordPress建站:可视化编辑器推荐(2026版-含下载)
编辑器·wordpress插件·wordpress建站
tiandyoin9 小时前
vscode copilot 的配置文件提示警告
ide·vscode·copilot