Disable hover hint for python keyword in VSCode

Viewed 328

I want to disable hover hint for python keyword (for example import), but preserve linter message. How can I do this? enter image description here

UPDATE: settings.json

{
  "python.pythonPath": "venv/bin/python",
  "python.formatting.provider": "black",
  "python.linting.enabled": true,
  "python.linting.pylintEnabled": false,
  "python.jediEnabled": false,
  "python.linting.flake8Enabled": true,
  "python.languageServer": "Jedi",
}
2 Answers

It's provided by the Jedi Language Server, You can take Pylance instead of it:

"python.languageServer": "Pylance",

quick solution for Mac OS: Go to

Settings of VS code --> type 'Hover" in search settings box --> Uncheck box of Editor > Hover: Enabled This is also preserve linter message if any syntax error.

There is already solution provided, please refer below URL

Disable tooltip hint in Visual Studio Code

Please have a look for screenshot: enter image description here

Related