When I'm writing the body of a function in VSCode, a window pops up showing the definition of the function, as shown in the attached screenshot. Does anyone know if there's a setting I can use to remove this?
Thanks!
Type “editor. hover. enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.
By default, VS Code shows snippets and completion proposals in one widget. You can control the behavior with the editor. snippetSuggestions setting. To remove snippets from the suggestions widget, set the value to "none" .
That window is the signature help / parameter hints. Press esc to cancel out of an individual popup, or set"editor.parameterHints.enabled": false
to disable it entirely.
You should try setting "editor.quickSuggestions": false
and "editor.suggestOnTriggerCharacters": false
to disable the suggestions.
Parameter hints could be useful, I would suggest to set simple keybindings to toggle between show/hide parameter hints.
I use the following settings/keybindings to toggle using shift+space
and space
.
Disable parameter hint by adding "editor.parameterHints.enabled": false
to settings.json
.
Bind shift+space
to trigger parameter hints. Default is ctrl+shift+space
.
//keybindings.json
{
"key": "shift+space",
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
space
to hide parameter hint.Default is esc
.//keybindings.json
{
"key": "space",
"command": "closeParameterHints",
"when": "editorFocus && parameterHintsVisible"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With