1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:14:43 -07:00
go/internal/lsp/cmd
Rebecca Stambler a857023c21 internal/lsp: use protocol.Range for diagnostics instead of span.Span
This is the first in a series of many changes that will change the API
of the source package to use different types for positions. Using
token.Pos is particularly fragile, since the pos has to refer to the
specific *ast.File from which it was derived.

Change-Id: I70c9b806f7dd45b2e229954ebdcdd86e2cf3bbbb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190340
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-16 17:06:24 +00:00
..
check_test.go internal/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +00:00
check.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
cmd_test.go internal/lsp: fix data race in cmd tests 2019-08-13 03:47:49 +00:00
cmd.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
definition_test.go internal/lsp: fix data race in cmd tests 2019-08-13 03:47:49 +00:00
definition.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
format_test.go internal/lsp: have tests report a different application name to the main gopls binary 2019-07-18 23:01:26 +00:00
format.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
info.go internal/lsp: move PrintVersionInfo to the debug package 2019-06-03 15:29:06 +00:00
query.go internal/lsp: fix query cmd usage 2019-04-22 18:06:03 +00:00
serve.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00