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 capability to request fine grained DiagnosticKinds to diagnostic analyzer service #65583

Merged
merged 2 commits into from
Nov 24, 2022

Conversation

mavasani
Copy link
Contributor

The span based APIs IDiagnosticAnalyzerService.GetDiagnosticsForSpanAsync and IDiagnosticAnalyzerService.TryGetDiagnosticsForSpanAsync can now request more fine grained diagnostics: compiler syntax, compiler semantic, analyzer syntax, analyzer semantic or any combination of these.

Required by #65547 to move our taggers to LSP pull diagnostics

…analyzer service

The span based APIs `IDiagnosticAnalyzerService.GetDiagnosticsForSpanAsync` and `IDiagnosticAnalyzerService.TryGetDiagnosticsForSpanAsync` can now request more fine grained diagnostics: compiler syntax, compiler semantic, analyzer syntax and analyzer semantic.

Required by dotnet#65547 to move our taggers to LSP pull diagnostics
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

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

tentative approval. but test would be good, and there's a little cleanup i think would make sense.

@CyrusNajmabadi
Copy link
Member

Also, please don't squash/rebase. I've merged your branch into mine :)

@mavasani mavasani merged commit 35ac8cb into dotnet:main Nov 24, 2022
@ghost ghost added this to the Next milestone Nov 24, 2022
@mavasani mavasani deleted the DiagnosticAnalyzerServiceApi branch November 24, 2022 08:41
allisonchou added a commit to allisonchou/roslyn that referenced this pull request Nov 29, 2022
…zerServiceApi"

This reverts commit 35ac8cb, reversing
changes made to 6b02be2.
@allisonchou allisonchou modified the milestones: Next, 17.5 P2 Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants