Skip to content

[LSP] Enable Pull Diagnostics #61897

@dibarbet

Description

@dibarbet

Top level issue to track enabling LSP pull diagnostics by default

Dogfood blocking issues

Issues blocking turning on by default

Non-blocking issues

  • [LSP] Use frozen partial semantics for document pull diagnostics #61275
  • Need to figure out how someone can configure suppressions from the error list if we don't own the error list.
  • Need to remove IDiagnosticService.DiagnosticsUpdated. Currently this is used by tagger (but is not needed if tagger is just pulling), and by typescript. David believes TS just uses this for LSP-push-diags in liveshare and can likely be removed since we have worked with them to support pull diagnostics.
  • Move IDiagnosticService.GetDiagnosticsAsync to be snapshot based. Currently it takes in Workspace+ProjId/DocId. This is non-sensical as that means you may get random results depending on the state of Workspace.CurrentSnapshot. This needs to move to take Project/Document instead.

See also: #62741, #62735 and #62771

Next steps

  • Enable flag for team
  • Rollout to internal preview users
  • Rollout to external preview users
  • Rollout to everyone

Metadata

Metadata

Assignees

Labels

Area-IDELSPissues related to the roslyn language server protocol implementationStory

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions