Pylint highlight and hovering bug on VSCode

Viewed 434

VSCode doesn't highlight the linting problems.

Only highlights the "first letter".

There is no hovering option on the error also.

I tried to uninstall and install again python and/or vscode, with no success.

Pylint bug

The problems of pylint appear in the problems section on vscode so it is indeed working, just not as intended.

enter image description here

2 Answers

This issue is caused by the VSCode, You can downgrade the VSCode to version 1.61.2 to avoid this problem.

enter image description here

issue page on github.

Pylint need the library to be installed in its environment, so you need to install networkx and bs4 in the environment where pylint is ran (probably your virtualenv, or the virtualenv vscode is using).

Related