tools/internal/lsp
Rebecca Stambler f344c7530c internal/lsp: add ranges to some diagnostics messages
Added a View interface to the source package, which allows for reading
of other files (in the same package or in other packages). We were
already reading files in jump to definition (to handle the lack of
column information in export data), but now we can also read files in
diagnostics, which allows us to determine the end of an identifier so
that we can report ranges in diagnostic messages.

Updates golang/go#29150

Change-Id: I7958d860dea8f41f2df88a467b5e2946bba4d1c5
Reviewed-on: https://go-review.googlesource.com/c/154742
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2018-12-20 19:13:07 +00:00
..
cache internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
cmd internal/lsp: refactor the command line handling 2018-12-17 23:08:30 +00:00
protocol internal/lsp/protocol: use correct JSON name for RootURI 2018-12-11 20:04:12 +00:00
source internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
testdata internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
completion.go internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
diagnostics.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
format.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
imports.go internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
lsp110_test.go internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
lsp_test.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
position.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
server.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00