I created a python project in visual studio code, and this is the debugging option that I use in my launch.json:
{
"name": "External Terminal/Console",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"cwd": "",
"console": "externalTerminal",
"env": {},
"envFile": "${workspaceRoot}/.env",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit"
]
}
I installed pylintand created a file settings.jsonthat looks something like this:
{
"python.linting.pep8Enabled": true,
"python.linting.pep8Path": "/usr/bin/pep8",
"python.linting.pylintPath": "/usr/bin/pylint"
}
Linter errors are displayed pylint, but the light bubble indicator does not appear, which helps to automatically correct liner errors.
What causes this and how can I enable it lightbubble, which helps me fix linter errors, for example. Fix all autofixable errors.
source
share