1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:04:52 -07:00
go/internal/lsp/source
Rebecca Stambler cf22ef0385 internal/lsp: handle undelivered diagnostics
This change adds a cache of undelivered diagnostics on the server-side.
If we fail to send a diagnostic once, we will retry the next time that
the server sends diagnostics.

Change-Id: I161dfad8ea1d2cfdcee933baed2d6872dc03b0c0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/167737
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-04-01 16:39:43 +00:00
..
analysis.go internal/lsp: use new go/packages LoadMode to get TypesSizes 2019-03-29 21:52:04 +00:00
completion.go cmd/lsp: skip completion in string literals 2019-03-15 16:51:35 +00:00
definition.go internal/lsp: add correct handling for circular imports 2019-03-15 16:49:21 +00:00
diagnostics.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
format.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
highlight.go internal/lsp: add support for document highlight 2019-03-26 19:08:20 +00:00
signature_help.go internal/lsp: add correct handling for circular imports 2019-03-15 16:49:21 +00:00
symbols.go internal/lsp: fix nil pointer exception in document symbols 2019-03-29 18:25:15 +00:00
view.go internal/lsp: handle undelivered diagnostics 2019-04-01 16:39:43 +00:00