1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:54:39 -07:00
go/internal/lsp
Rebecca Stambler 3eedecdc80 internal/lsp: propagate diagnostics for reverse dependencies
Prior to this change, if a package was rendered invalid by a change in
one of its dependencies, diagnostics would not be propagated until the
user typed in one of the package's files. Now, these updated diagnostics
are sent along with the diagnostics for the dependency.

Fixes golang/go#29817

Change-Id: I4761de31c4bdee820e024005f6112b3b3d2e1da6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174977
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-10 13:52:23 +00:00
..
cache internal/lsp: propagate diagnostics for reverse dependencies 2019-05-10 13:52:23 +00:00
cmd internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
diff internal/lsp: normalise and make public diff<->edit conversions 2019-04-15 20:31:36 +00:00
protocol internal/lsp: generate RPC interface from Typescript source 2019-04-30 16:16:08 +00:00
snippet internal/lsp: introduce snippet builder object 2019-04-25 18:37:29 +00:00
source internal/lsp: propagate diagnostics for reverse dependencies 2019-05-10 13:52:23 +00:00
testdata internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
tests internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
xlog internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
code_action.go internal/lsp: run source.organizeImports on all codeActions 2019-04-16 21:54:00 +00:00
completion.go internal/lsp: change some comments and variable names in completion code 2019-04-30 00:41:04 +00:00
definition.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
diagnostics.go internal/lsp: propagate diagnostics for reverse dependencies 2019-05-10 13:52:23 +00:00
format.go internal/lsp: disable rangeFormatting temporarily 2019-05-08 13:53:17 +00:00
general.go internal/lsp: fix incremental updates and turn them on 2019-05-08 15:02:11 +00:00
highlight.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
hover.go internal/lsp: support comments on hover for typenames, funcs, fields 2019-04-22 16:38:38 +00:00
link.go internal/lsp: add document link handling for import paths to godoc 2019-05-03 18:56:57 +00:00
lsp_test.go internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
reset_golden.sh internal/lsp: switch golden files to use txtar 2019-05-08 14:59:27 +00:00
server.go internal/lsp: disable rangeFormatting temporarily 2019-05-08 13:53:17 +00:00
signature_help.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
symbols.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
text_synchronization.go internal/lsp: fix incremental updates and turn them on 2019-05-08 15:02:11 +00:00
util.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00