如何禁用VSCode中的默认提示信息?有时候很烦人。
当前回答
这里没有人提到的简单方法:代码→首选项→设置。搜索“hover”。取消选中“编辑器>悬停:已启用”复选框。
其他回答
进入左下角的齿轮设置,然后进入设置,搜索“悬停”。取消选中“控制是否显示悬停”框。
edit .hover.enabled:设置为false。json到工具提示
单击settings.json中的Edit
有两个窗格
默认用户设置
"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版)
转到文件=>首选项=>设置
文本编辑器=>
单击settings.json中的Edit
"editor.parameterHints.enabled": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"html.suggest.html5": false,
更新您的建议选项并保存。
2018年8月前
转到文件=>首选项=>用户设置
您将找到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
要隐藏这些提示,你可以添加“编辑器”。parameterHints": false为你的settings.json。在这里找到了答案。
"editor.hover.enabled": false,
是你的防弹方案。然后你可以使用CTLR + K, CTLR + I。
在1.27.2版本中,我发现只有这个参数禁用了所有的工具提示:"editor.hover。启用”:假的。
推荐文章
- 如何设置每个文件类型的标签大小?
- 我如何添加环境变量启动。VSCode中的json
- 如何格式化Visual Studio Code项目中的所有文件?
- Pylint在Visual Studio代码中“未解决的导入”错误
- 如何在VS Code中默认打开文本换行
- 在Visual Studio代码中更改突出显示文本的颜色
- Visual studio代码-键盘快捷键-全部展开/折叠
- Visual Studio Code无法检测已安装的Git
- 禁用Visual Studio代码中的工具提示提示
- Visual Studio Code -将空格转换为制表符
- 在VSCode中的列自动硬换行
- Visual Studio Code:格式没有使用缩进设置
- 如何排除文件扩展名和语言从“格式保存”在VSCode?
- Visual Studio代码- URI的目标不存在" package:flutter/material.dart "
- VSCode——如何设置调试Python程序的工作目录