Reputation: 7408
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!
Upvotes: 36
Views: 33340
Reputation: 797
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"
}
Upvotes: 6
Reputation: 65593
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.
Upvotes: 40
Reputation: 162
You should try setting "editor.quickSuggestions": false
and "editor.suggestOnTriggerCharacters": false
to disable the suggestions.
Upvotes: 11