Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Disable automatic parameter suggestions in VSCode

How can I disable the suggestion box for method parameters? (I still want to be able to make it show with the option+space shortcut, if possible)

I write some code, then I type ,. The suggestion box comes up:
a screenshot of parameter hints

I then press Enter to go on the new line, and the suggestion block covers my code:
a screenshot of parameter hints obscuring part of the code after entering a new line

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I tried going through the VSCode settings, but couldn’t find the setting for this method parameter suggestion box. I don’t know what verbiage is used in the documentation to refer to this box.

>Solution :

These are called "parameter hints". You can turn off the automatic parameter hint popup by putting this in a settings.json file:

"editor.parameterHints.enabled": false

That setting’s documentation/description says:

Enables a pop-up that shows parameter documentation and type information as you type.

You can then manually trigger it with the Trigger Parameter Hints command, or the corresponding keyboard shortcut:

  • Windows: ctrl+shift+space
  • MacOS: command+shift+space
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading