Home > database >  Disable autogenerated parameter hint in vscode
Disable autogenerated parameter hint in vscode

Time:03-20

I tried to find the relevant setting to disable this feature but coudln't find any. Basically whenever I press Enter (using python) to accept a suggestion, vscode adds that parameter hint which is pretty annoying specially if you also have vim extension installed. Any idea how to disable it?

Already tried "editor.parameterHints.enabled": false, which didn't work.

enter image description here

CodePudding user response:

The default Python extension doesn't have this kind of issue (using Pylance). I only have these 2 settings enabled :

"python.analysis.completeFunctionParens": true,
"python.analysis.typeCheckingMode": "strict"

The first autocompletes the brackets (without the parameters) and the second enables type checking.

I tested with the Vim extension and can't reproduce either.

Here's what I got: Imgur

I would be happy to help you more if you could provide what extensions you are using.

  • Related