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

相关推荐
CaptainDrake43 分钟前
React低代码项目:问卷编辑器
react.js·低代码·编辑器
Williams101 小时前
解锁高效开发新姿势:Trae AI编辑器深度体验
人工智能·编辑器
技术咖啡馆C1 小时前
二、IDE集成DeepSeek保姆级教学(使用篇)
ide·ai编程·idea-plugin·deepseek
新时代丘鸣山11 小时前
Idea java项目结构介绍
java·ide·intellij-idea
白云千载尽14 小时前
ubuntu环境中安装latex并使用vscode
linux·vscode·ubuntu
亚林瓜子16 小时前
IDEA撤销commit
java·ide·intellij-idea
椰萝Yerosius17 小时前
计算机工具基础(五)——Vim
linux·编辑器·vim
coco_1998_218 小时前
【Win10】Anaconda + Pycharm 环境搭建教程
ide·python·pycharm
m0_748234081 天前
Node.js使用教程
node.js·编辑器·vim
朗迹 - 张伟1 天前
UE5 编辑器辅助/加强 插件搜集
ue5·编辑器