Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for <RunAnalyzers /> and <RunAnalyzersDuringLiveAnalysis /> #1739

Merged
merged 10 commits into from
Mar 26, 2020

Conversation

filipw
Copy link
Member

@filipw filipw commented Mar 18, 2020

This PR adds support for honoring <RunAnalyzers /> and <RunAnalyzersDuringLiveAnalysis /> settings in csproj files.

Note that this is different than the OmniSharp specific global setting to toggle analyzers on/off (in those cases we don't decorate code check services with one that's analyzer-friendly).

Here it's project level and we can toggle this on/off in csproj and get real time response from Omnisharp (via project reload). This is on-par with feature that's already in VS and in command line builds.

@dnfclas
Copy link

dnfclas commented Mar 18, 2020

CLA assistant check
All CLA requirements met.

Copy link
Member

@bjorkstromm bjorkstromm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@filipw filipw merged commit 3163c23 into master Mar 26, 2020
@filipw filipw deleted the feature/runanalyzers branch March 26, 2020 16:29
@filipw filipw restored the feature/runanalyzers branch March 26, 2020 16:29
@filipw filipw deleted the feature/runanalyzers branch March 26, 2020 16:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants