在 Visual Studio 代码中,如何禁用所有建议和其他工具提示?

In Visual Studio Code, how do I disable all suggestions and other tool-tips?

我已禁用所有似乎会导致出现类似于以下建议和工具提示的设置:

screenshot of the tool-tip

这是我的 settings.json:

{
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.fontSize": 24,
"editor.hover.enabled": false,
"editor.hover.sticky": false,
"editor.quickSuggestions": {
    "other": false,
    "comments": false,
    "strings": false
  },
"editor.quickSuggestionsDelay": 10,
"editor.snippetSuggestions": "none",
"editor.suggestOnTriggerCharacters": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.wordWrap": "on",  "editor.hover.enabled": false,
"editor.parameterHints": false,
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.wordBasedSuggestions": false

}

是否有任何其他设置可以阻止这些 suggestions/tool-tips?

这是另一个显示类似弹出窗口的屏幕截图,即使在添加 P.W

建议的代码后也是如此

您应该在 settings.json 文件中再添加一个选项。

"editor.suggest.snippetsPreventQuickSuggestions": false,

放在后面的某个地方

"editor.parameterHints.enabled": false,

看看它是否有效。