1
0
mirror of https://github.com/golang/go synced 2024-11-19 04:04:47 -07:00
go/internal/lsp/testdata
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
..
anon internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
bad internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
bar internal/lsp: fix a bug stopped package names from being printed 2018-11-20 23:48:46 +00:00
baz internal/lsp: implement type definitions 2018-12-04 18:51:09 +00:00
builtins internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
cast internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
complit internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
errors internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
foo internal/lsp: implement type definitions 2018-12-04 18:51:09 +00:00
format internal/lsp: fix and add tests for formatting 2018-11-15 19:42:43 +00:00
godef internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
good internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
noparse internal/lsp: add a preliminary test for completion 2018-11-12 19:56:38 +00:00
noparse_format internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
rank internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
selector internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
self internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
types internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00