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

相关推荐
2601_9609067217 小时前
AI研发加速中式及泛亚洲
人工智能·vscode·macos·sublime text·phpstorm
啦啦啦!17 小时前
虚拟机如何接入Codex并配置中转站(vscode插件版)
linux·vscode·ubuntu·编辑器
骇客野人18 小时前
IntelliJ IDEA 菜单中英对照
java·ide·intellij-idea
不喝水的鱼儿2 天前
本地部署 260K 上下文 Qwen-3.6-35B-A3B 与 Ornith-1.0-35B 模型及 VSCode Copilot 参数调优记录
ide·vscode·语言模型·copilot·llama
骇客野人2 天前
VSCode 安装 Trae(Trae AI: Coding Assistant)完整教程
ide·vscode·编辑器
骇客野人2 天前
IDEA 安装 Trae(TRAE AI: Coding Assistant)完整步骤
java·ide·intellij-idea
2501_915921432 天前
SwiftUI开发框架入门指南:从基础到实战
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
骇客野人2 天前
IntelliJ IDEA 使用技巧
java·ide·intellij-idea
senmuleishi2 天前
持续发力嵌入式AI IDE,攻坚大科学装置电源解决方案
ide·人工智能
骇客野人2 天前
VSCode 高效使用技巧
ide·vscode·编辑器