Description
Currently the language server analyzes the entire project.
This can be turned off using the setting python.diagnostics.openFilesOnly: false
What should the default behavior be?
- Analyze entire project
- Analyze just the open file
Note: Today VSC Python displays errors (linter errors) for opened files.
With the introduction of the new language server, we're changing this default behavior to analyze entire project
. This could both be a good thing as well as bad.
E.g. for someone working on a large code base, with Python 2.7 code, or similar, they could end up with 100s of errors (like me when using PTVSD, i see 880 errors).
Yes, the solution is as simple as turn off the feature to analyze opened file. This is similar to the pylint linter is not installed
message. Once again, the solution is as simple as disabling it, but its annoying to have it as the default behavior.
My concern is users will start getting annoyed with these messages.
@Microsoft/pvsc-team