Peter
Peter

Reputation: 2442

In VS Code, how can I disable parameter hints? (tooltip/widget that shows function parameter descriptions and overloads)

When I'm writing a function call and start writing arguments (after typing the opening bracket/parenthesis to the function call), VS Code pops up a large tooltip that shows the function signature and highlights the current parameter I'm writing an argument for. If the function has multiple signatures (overloads), it has buttons to navigate between them. I want to disable this. How can I do that?

It looks like this:
screenshot showing method documentation


I have following settings.json:

"editor.quickSuggestions": false,
"editor.suggestOnTriggerCharacters": false,
"editor.wordBasedSuggestions": false,
"editor.quickSuggestionsDelay": 1000000

But this is not doing what I want.

Here is documentation for the Visual Studio Code IntelliSense where I found the settings above. I use VS Code 1.6.0 on OS X (I experienced it also on previous versions of the editor).

I have all the settings in User Settings settings.json. My Workspace Settings settings.json is empty.

Upvotes: 60

Views: 38057

Answers (2)

Turn them off with the following entry in your settings.json:

"editor.hover.enabled": false,

disable the hover function. You will still be able to use CtrlR + K and CtrlR + I as needed.

Upvotes: 4

Wosi
Wosi

Reputation: 45341

You turned off code completion correctly. But parameter hints are still active. Turn them off by going into the Settings menu, searching for editor.parameterHints.enabled, and un-checking the box.

Or put the following entry in your settings.json:

"editor.parameterHints.enabled": false

If you ever want to see the parameter hints on-demand, refer to How to trigger parameter hints in Visual Studio Code?. In short, for Windows/Linux, Ctrl+Shift+Space; for Mac, Cmd+Shift+Space.

Upvotes: 69

Related Questions