New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jedi LS: Cannot disable language server linting #17777
Comments
We need to update these options for Jedi here: vscode-python/src/client/activation/jedi/analysisOptions.ts Lines 65 to 70 in 12ed0c5
That method already has the settings, we just need to read |
Appreciate the very quick response! Looking further into the settings, I think there are other settings better suited to implement this behavior than "python.linting.enabled", since one could want to disable language server linting but still enable external tools such as pylint. I think either creating a new setting or adding a wildcard option to "python.analysis.disabled" so it disables all error messages would work better. |
Yes, I agree. Switched this to |
Hi, I'd like to know if this is still being worked on. Sometimes jedi doesn't detect problems correctly (which is bound to happen with languages such as python) and at the moment the only solution is to disable the language server entirely, which reduces vscode to a 'dumb' text editor. A lot of folks rely on external linting tools and the built-in language server linting causes problems while providing no benefit. Thanks! |
yeah im getting the same issue, having to completely uninstall the linter to turn it off. |
agreed, would be great to have "python.linting.ignorePatterns" supported for Jedi. |
Environment data
python.languageServer
setting: JediExpected behaviour
When using the Jedi language server, all of the linting-related settings to are only applied to "external" linting tools.
None of the settings affect the problems reported by the language server, which create invalid entries in the problems panel in my project.
Actual behaviour
Provide some option to filter language server provided problems. Either as a new setting or integrate the functionality in one of the existing settings, such as "python.linting.ignorePatterns", "python.linting.enabled", etc.
The text was updated successfully, but these errors were encountered: