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

Respect the newly added Background analysis scope option in OmniSharp #6058

Merged

Conversation

mavasani
Copy link
Member

@mavasani mavasani commented Aug 7, 2023

Closes #5998

This ensures that the Background analysis scope option becomes the source of truth for both C# extension and OmniSharp. We should drive the users to use the below two options even when OmniSharp server is enabled. They are the replacement for the existing options Enable support for roslyn analyzers, code fixes and rulesets and Analyze open documents only and enable configuring these separately for compiler and analyzer diagnostics.

image

image

NOTE: I ran into #6057 quite often while playing around with this space, I'll send a separate Roslyn PR for fixing that issue.

Related to dotnet#5998
This ensures that the Background analysis scope option becomes the source of truth for both C# extension and OmniSharp
@mavasani mavasani requested a review from dibarbet August 7, 2023 06:43
@mavasani mavasani requested a review from a team as a code owner August 7, 2023 06:43
test/unitTests/options.test.ts Show resolved Hide resolved
src/shared/options.ts Outdated Show resolved Hide resolved
src/shared/options.ts Outdated Show resolved Hide resolved
@mavasani mavasani merged commit 066d2fc into dotnet:main Aug 10, 2023
4 checks passed
@mavasani mavasani deleted the RespectBackgroundAnalysisScopeOmniSharp branch August 10, 2023 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Roslyn Analyzer works even though I disabled It
2 participants