如何在纯文本文件中禁用 visual studio 代码下拉建议

How to disable visual studio code dropdown suggestions in plain text files

如何禁用 Visual Studio 代码下拉建议?这非常烦人,尤其是在纯文本文件中。是否有任何设置禁用某些文件扩展名(如 .txt 但不禁用其他扩展名)的此功能?或者是否有任何 vscode 扩展程序可以帮助控制此功能?

要按语言自定义编辑器,运行 全局命令 首选项:配置语言特定设置

"[plaintext]": {
    "editor.quickSuggestions": {
        "other": false,
        "comments": false,
        "strings": false
    }
}

https://code.visualstudio.com/docs/getstarted/settings#_language-specific-editor-settings