golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.9k stars 17.65k forks source link

x/tools/gopls: support pull-based diagnostics available in LSP 3.17 #53275

Open hyangah opened 2 years ago

hyangah commented 2 years ago

LSP 3.17 adds support for Pull Diagnostics

The spec includes Document Diagnostics, Workspace Diagnostics.

I think this allows us to address some long-standing issues like

Partly

gopherbot commented 1 month ago

Change https://go.dev/cl/611843 mentions this issue: gopls/internal/cache: join concurrent package batch operations

gopherbot commented 1 month ago

Change https://go.dev/cl/616835 mentions this issue: gopls: add initial support for pull diagnostics

gopherbot commented 3 weeks ago

Change https://go.dev/cl/618995 mentions this issue: gopls/internal/test/integration/bench: add a pull diagnostics benchmark

gopherbot commented 3 weeks ago

Change https://go.dev/cl/619095 mentions this issue: gopls/internal/cache/analysis: lazily resolve the import map

gopherbot commented 3 weeks ago

Change https://go.dev/cl/619516 mentions this issue: gopls/internal/cache/parsego: support lazy object resolution for Files

gopherbot commented 1 week ago

Change https://go.dev/cl/622036 mentions this issue: gopls/internal/cache: async pull diagnostics and joined analysis

gopherbot commented 1 week ago

Change https://go.dev/cl/622037 mentions this issue: gopls/internal/cache: memoize cache keys

gopherbot commented 1 week ago

Change https://go.dev/cl/622038 mentions this issue: gopls/internal/cache: share type checking with analysis