如何禁用VSCode中的默认提示信息?有时候很烦人。
当前回答
我发现使用更大的编辑器>悬停:延迟(在设置搜索栏中搜索“延迟”)对我来说很有用。默认值是300ms。这并不能真正消除工具提示,但是让它们只在2秒后出现,对我来说,减少了视觉上的混乱。
其他回答
我发现使用更大的编辑器>悬停:延迟(在设置搜索栏中搜索“延迟”)对我来说很有用。默认值是300ms。这并不能真正消除工具提示,但是让它们只在2秒后出现,对我来说,减少了视觉上的混乱。
我使用的是Visual Studio Code v1.63.0,在设置中搜索“悬停”,发现“编辑器>悬停:延迟”和“编辑器>悬停:启用”。取消选中后者将禁用悬停。然而,我个人觉得它们很有用,但它们显示得太快了,所以我把“编辑器>悬停:延迟”从“300”增加到“5000”
如果你不是在寻找禁用,正如用户:Darrell Brogdon上面提到的,如果你想延迟工具提示的悬停时间作为解决方案,那么只需在用户设置中添加下面一行与你想要的时间值。 根据您的需要替换值3000。 注意:悬停设置在新版本的在线服务设置中被移动,因此你可能无法在用户设置中搜索“悬停”。
// modify in Preferences --> Settings or settings.json
"editor.hover.delay": 3000,
"editor.hover.enabled": false,
是你的防弹方案。然后你可以使用CTLR + K, CTLR + I。
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...
推荐文章
- 打开同一目录两次
- 如何从终端/命令行调用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单引号到双引号自动替换