禁用在 VS Code 中显示有关 symbol/object 信息的悬停
Disable hover which show information about the symbol/object in VS Code
我怎样才能禁用在 VS Code 中显示有关 symbol/object 信息的悬停功能。
Link 该功能 - https://code.visualstudio.com/api/language-extensions/programmatic-language-features#show-hovers
我可以使用以下设置来禁用悬停,但这也会删除我一直使用的快速修复悬停
"editor.hover.enabled": true
您可以通过为这些功能设置 false
来解决这个问题。
//Remove parameter hint box
"editor.parameterHints.enabled": false,
//Disable hover
"editor.hover.enabled": false,
//Controls if quick suggestions should show up while typing
"editor.quickSuggestions.enabled": false,
这是 Visual Studio 的较新版本。如果有人使用旧版本,你可以试试这个
"editor.parameterHints": false,
"editor.hover": false,
"editor.quickSuggestions": false,
每个扩展都将自己的部分添加到悬停中。您可以通过配置每个扩展来仅禁用文档(并保留 quickfix 部分):
我怎样才能禁用在 VS Code 中显示有关 symbol/object 信息的悬停功能。
Link 该功能 - https://code.visualstudio.com/api/language-extensions/programmatic-language-features#show-hovers
我可以使用以下设置来禁用悬停,但这也会删除我一直使用的快速修复悬停
"editor.hover.enabled": true
您可以通过为这些功能设置 false
来解决这个问题。
//Remove parameter hint box
"editor.parameterHints.enabled": false,
//Disable hover
"editor.hover.enabled": false,
//Controls if quick suggestions should show up while typing
"editor.quickSuggestions.enabled": false,
这是 Visual Studio 的较新版本。如果有人使用旧版本,你可以试试这个
"editor.parameterHints": false,
"editor.hover": false,
"editor.quickSuggestions": false,
每个扩展都将自己的部分添加到悬停中。您可以通过配置每个扩展来仅禁用文档(并保留 quickfix 部分):