Skip to content

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

Merged
filipw merged 10 commits intomasterfrom
feature/runanalyzers
Mar 26, 2020
Merged

Support for <RunAnalyzers /> and <RunAnalyzersDuringLiveAnalysis />#1739
filipw merged 10 commits intomasterfrom
feature/runanalyzers

Conversation

@filipw
Copy link
Copy Markdown
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
Copy Markdown

dnfclas commented Mar 18, 2020

CLA assistant check
All CLA requirements met.

Copy link
Copy Markdown
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
Copy Markdown
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
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.

4 participants