如何在Visual Studio Code中关闭Typescript语言基础建议?

时间:2019-03-04 12:12:00

标签: typescript visual-studio-code

我发现Typescript Language Basics的建议很烦人-它们总是排在我的建议之上,我想将其关闭。有谁知道该怎么做?

4 个答案:

答案 0 :(得分:0)

因此,我找到了一种使用"editor.snippetSuggestions": "bottom"将其移至底部的方法。我不知道为什么不是默认值。

答案 1 :(得分:0)

您可以通过设置"editor.suggest.filteredTypes": { "snippet": false }

关闭代码段建议

答案 2 :(得分:0)

截至2019年11月,将其添加到settings.json对我来说已禁用它:

  "editor.suggest.showSnippets": false,

答案 3 :(得分:0)

我无法禁用它,但是使用此设置,您可以在下面显示有用的建议:

"editor.snippetSuggestions": "bottom"

enter image description here


更改设置建议之前:enter image description here

更改设置建议后:enter image description here

相关问题