skip to Main Content

enter image description here

I’m getting auto-insert types everywhere. Can’t find what extension is doing it. Is it IntelliSense? How can I disable it?

2

Answers


  1. first, go to your extensions list by pressing Ctrl+Shift+X or clicking the extension’s icon, then you can see your installed extensions and determine which one is causing this.
    To disable an extension click on it and then click disable.

    Login or Signup to reply.
  2. They are called "inlay hints" and they are not the types but the names of the corresponding function arguments (the first argument of parseInt() is called "string".)

    They need to be enabled in the editor to show up (Settings -> Editor -> Inlay Hints).

    Then, each extension that provides inlay hints has its own settings to configure when they are displayed.

    Search for "inlay hints" in the VSCode settings and decide for each extension what hints to be displayed (or disable the functionality globally from the Editor -> Inlay Hints setting.)

    Your code looks like JavaScript, check for the inlay hints in the settings of the TypeScript extension.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search