I am using vscode with Pylance and Pylint, and it does not show an alert for undefined class methods as Pycharm does.
Example:
Pycharm
Visual Studio Code
What I tried:
cmd+shift+p
> select linter)Is there's any way to enable this?
It is recommended that you clear all settings and make sure pylint
is installed. Then enable linting and select pylint
to see if it works.
Adding the following configuration to the setting.json has the same effect:
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,