1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:18:32 -06:00
go/internal/lsp
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
..
cache internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
cmd cmd/golsp: log elapsed times in milliseconds rather than microseconds. 2018-12-21 15:44:17 +00:00
protocol internal/lsp/server: fix typo in name of method foldingRange 2018-12-21 18:55:09 +00:00
source internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +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: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
imports.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +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: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
position.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
server.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00