如何禁用VSCode中的默认提示信息?有时候很烦人。
当前回答
要隐藏这些提示,你可以添加“编辑器”。parameterHints": false为你的settings.json。在这里找到了答案。
其他回答
要隐藏这些提示,你可以添加“编辑器”。parameterHints": false为你的settings.json。在这里找到了答案。
Arrrg ! !
Hope this helps others. Running with v1.72.1. For the life of me was trying all the different settings, options, suggesting and couldn't get the tooltip help disabled... Coffee might have been my solution, finally noticed in the tooltip window there is an 'x' in the upper right corner for a close, clicking it. WOW! It worked and seems to have persisted my desire to dismiss them. I wanted them gone.... Perfect!!! Thinking about it, don't see a way to get them back if someone might actually want them back. VS Code is nice for a lot of stuff, but pretty bad for some of it's design and usability...
这里没有人提到的简单方法:代码→首选项→设置。搜索“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
推荐文章
- 打开同一目录两次
- 如何从终端/命令行调用VS代码编辑器
- 如何在Visual Studio代码中重置设置?
- 如何将制表符转换为空格,反之亦然,在现有的文件
- 错误:'types'只能在.ts文件中使用- Visual Studio Code使用@ts-check
- Visual Studio Code: .git文件夹/文件隐藏
- Visual Studio Code:如何调试Python脚本的参数
- 如何在Visual Studio代码中触发参数提示?
- 在VS Code中禁用“Comments are not allowed In JSON”错误
- 使用正则表达式搜索和替换Visual Studio代码
- 如何缩进/格式选择的代码在Visual Studio代码?
- 如何禁用预览文件与点击在vs代码?
- Visual Studio代码更改文件资源管理器托盘的字体大小?
- 如何防止Visual Studio Code总是重新打开以前的文件或文件夹?
- VSCode单引号到双引号自动替换