editor.hover.enabled: false 在 settings.json 到 Tooltip
点击settings.json中的编辑
有两个窗格
默认用户设置
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
}
用户设置
"editor.parameterHints.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"html.suggest.html5": false,
"editor.snippetSuggestions": "none",
这也可以通过 UI 来完成。
设置片段建议:false
2018 年 8 月更新(1.27 版)
转到File=>Preference=>Settings
Text Editor => Suggestions
点击settings.json中的编辑
"editor.parameterHints.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"html.suggest.html5": false,
更新您的建议选项并保存。
2018 年 8 月之前
转到File=>Preference=>User Settings
你会发现settings.json
// Configures if the built-in HTML language support suggests Angular tags and properties.
"html.suggest.angular1": false,
"html.suggest.ionic": false,
"html.suggest.html5": false,
只需找到您的语言并设置suggest = false
更新
设置关闭所有弹出窗口
"editor.parameterHints": false