visual-studio-code

How can I toggle inlay hints in VS Code?


In the latest version of VSCode, the default settings have changed and inline parameter hints are always shown in the code despite me not using any setting for it. How do I disable them?

Example (predicate and searchString):

enter image description here


Solution

  • You can disable this new default setting by putting this option in your settings.json file:

    "editor.inlayHints.enabled": "off"
    

    The full list of available settings are: