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!
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!
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"
}