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就接受补全

相关推荐
m0_5557629042 分钟前
VSCODE CLAUDE CODE
ide·vscode·编辑器
esmap5 小时前
ESMAP 智慧消防解决方案:以数字孪生技术构建全域感知消防体系,赋能消防安全管理智能化升级
人工智能·物联网·3d·编辑器·智慧城市
悟能不能悟6 小时前
如何打开2个notepad++
ide
大明者省7 小时前
激活函数选型速查表(核心规则)
编辑器
wVelpro7 小时前
如何在Pycharm 2025.3 版本实现虚拟环境“Make available to all projects”
linux·ide·pycharm
GitHubDaily8 小时前
Windows 欠了 30 年的那个原生编辑器,终于回来了。
编辑器
蓝丶曦月9 小时前
MacM系列芯片安装 最新版本Notepad--(平替Windows系统的Notepad++)详细教程
编辑器·notepad++·mac
jun_bai10 小时前
VSCode使用
ide·vscode·编辑器
猫头虎11 小时前
OpenClaw-VSCode:在 VS Code 里玩转 OpenClaw,远程管理+SSH 双剑合璧
ide·vscode·开源·ssh·github·aigc·ai编程
手揽回忆怎么睡13 小时前
opencode和TRAE使用Superpowers 和ui-ux-pro-max skillls
ide·ui·ai·ux