如何禁用VSCode中的默认提示信息?有时候很烦人。


当前回答

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...

其他回答

对于1.31+版本,这一行为我做了:

"editor.parameterHints.enabled": false
"editor.hover.enabled": false,

是你的防弹方案。然后你可以使用CTLR + K, CTLR + I。

我使用的是Visual Studio Code v1.63.0,在设置中搜索“悬停”,发现“编辑器>悬停:延迟”和“编辑器>悬停:启用”。取消选中后者将禁用悬停。然而,我个人觉得它们很有用,但它们显示得太快了,所以我把“编辑器>悬停:延迟”从“300”增加到“5000”

要隐藏这些提示,你可以添加“编辑器”。parameterHints": false为你的settings.json。在这里找到了答案。

这里没有人提到的简单方法:代码→首选项→设置。搜索“hover”。取消选中“编辑器>悬停:已启用”复选框。