1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:54:41 -07:00
go/internal/lsp/source
Rebecca Stambler 62138107df internal/lsp: fix diagnostics range computation
Diagnostics were failing because of
https://go-review.googlesource.com/c/tools/+/154742, where I was using
the wrong *token.File for the position calculations. This should fix the
problem.

Change-Id: Ic44e7799da56010b5014d56029fb4e0a8a6bb0e8
Reviewed-on: https://go-review.googlesource.com/c/155479
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2018-12-21 20:18:27 +00:00
..
completion.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
definition.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
diagnostics.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
hover.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
signature_help.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
uri_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
uri.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
view.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00