Skip to content

proposed document pull diagnostics implementation#57518

Merged
dibarbet merged 9 commits intodotnet:mainfrom
dibarbet:vscode_diags
Nov 9, 2021
Merged

proposed document pull diagnostics implementation#57518
dibarbet merged 9 commits intodotnet:mainfrom
dibarbet:vscode_diags

Conversation

@dibarbet
Copy link
Copy Markdown
Member

@dibarbet dibarbet commented Nov 2, 2021

TODO -

  1. workspace diagnostics
  2. run all tests with new API shape
  3. figure out what to do with the incremental analyzer registration bits
  4. Cleanup impl a bit

@ghost ghost added the Area-IDE label Nov 2, 2021
{
return new DefaultAnalyzerAssemblyLoader();
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could we put this stuff in a separate PR?

@dibarbet dibarbet marked this pull request as ready for review November 4, 2021 20:23
@dibarbet dibarbet requested a review from a team as a code owner November 4, 2021 20:23
// we're passing in. If information is already cached for that snapshot, it will be returned. Otherwise,
// it will be computed on demand. Because it is always accurate as per this snapshot, all spans are correct
// and do not need to be adjusted.
return _analyzerService.GetDiagnosticsForSpanAsync(document, range: null, cancellationToken: cancellationToken);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

note for future LSP meetings. It's a shame we can't benefit from the range bit. it woudl be nice if the client only cared about what was in view and scoped down to that.

@dibarbet dibarbet merged commit 14e88d2 into dotnet:main Nov 9, 2021
@dibarbet dibarbet deleted the vscode_diags branch November 9, 2021 18:44
@ghost ghost added this to the Next milestone Nov 9, 2021
@allisonchou allisonchou modified the milestones: Next, 17.1.P2 Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants