Home > Net >  VSCode / Pylance Problems not showing in the popover when hovering with the mouse
VSCode / Pylance Problems not showing in the popover when hovering with the mouse

Time:11-09

I'm on VS Code Version: 1.62.0 with the Language Server version: v2021.11.0.

When I hover with the mouse on a problem, I can't see linter error messages (e.g., flake8 messages are available just in the problem section at the bottom, but not in the popover). I used to see all of them also in the popover before the latest VSCode update. Here is a pic of the problem in action:

enter image description here

My related settings are:

{
    "python.pythonPath": ".venv/bin/python",
    "python.formatting.provider": "black",
    "editor.formatOnSave": true,
    "python.linting.flake8Enabled": true,
    "python.linting.enabled": true,
}

How can I fix it?

CodePudding user response:

You can downgrade to an older version of the VSCode. I met the same problem on 1.62.0 after I downgrade to the early version of 1.61.2, the problem was solved.

I had submitted a bug on Github, you can refer to here.

  • Related