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

相关推荐
超级大福宝1 小时前
VS Code Remote-SSH 因 RemoteForward 端口冲突导致连接失败的排查与解决
运维·服务器·windows·vscode·ssh
MandalaO_O15 小时前
IDEA 开发(快捷键 + 调试 + 序列化)
java·ide·intellij-idea
golang学习记1 天前
VSCode AI完成任务的仪式感:撒礼花
ide·vscode·编辑器
菜_小_白2 天前
codex
linux·vscode·ai
1024奇点2 天前
【仓颉语言入门 · 第26课】
开发语言·ide·开源
cuijiecheng20182 天前
Codex VS Code 插件新版卡住、界面异常:通过降级插件版本解决
vscode
golang学习记3 天前
VSCode AI新特性:HydraFusion来了:系统会自己组队干活
ide·人工智能·vscode
文祐3 天前
下载Visual Studio 2017 Build Tools version 15.9
ide·visual studio
golang学习记3 天前
Jetbrains 正式官宣:全新AI IDE正式发布!
ide·人工智能·intellij-idea·air
mklpo1473 天前
在win7 sp1 系统上安装最新版 的 Visual Studio Code。2026-10-04
ide·vscode·编辑器