Skip to content
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

Add support for 'Current Document' option for background execution of analyzers #5949

Open
Tracked by #5951
mavasani opened this issue Jul 24, 2023 · 0 comments
Open
Tracked by #5951

Comments

@mavasani
Copy link
Contributor

Visual Studio supports these 4 values for background analysis scope option: Current Document, Open Documents, Full Solution, Disabled or None

VSCode C# extension does not support the Current Document option. Note that this value was added and made the default for background execution of analyzers as running all analyzers on all open documents was performance intensive on larger solutions with large number of files open in the session, and did not seem to be of any significant value add to the user.

This issue tracks adding Current Document support in the C# extension and make it the default for analyzer execution in background. I believe @dibarbet mentioned this would need some LSP work to be able to know the active document context in the extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant