1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:24:41 -07:00
go/internal/lsp/protocol
Rebecca Stambler 5edc6aefed internal/lsp: reduce usage of column mapper
A mapper is always uniquely tied to a file at a specific version, so
just build it when we get a new *ast.File. We build the mapper using the
*token.File associated with the particular *ast.File, which is why there
is one per ParseGoHandle instead of FileHandle.

Change-Id: Ida40981ef91f6133cdd07e9793337fcd67510fba
Reviewed-on: https://go-review.googlesource.com/c/tools/+/194517
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-09-16 22:00:07 +00:00
..
typescript internal/lsp.protocol: identify the version of the LSP that code is generated for 2019-09-16 13:03:36 +00:00
context.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: fix watched file protocol constants 2019-07-31 19:43:47 +00:00
log.go x/tools/gopls: fix race condition in logging 2019-09-06 11:54:28 +00:00
protocol.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
span.go internal/lsp: reduce usage of column mapper 2019-09-16 22:00:07 +00:00
tsclient.go x/tools/gopls: convert to the august, 2019 version of the LSP protocol 2019-09-08 13:59:31 +00:00
tsprotocol.go x/tools/gopls: convert to the august, 2019 version of the LSP protocol 2019-09-08 13:59:31 +00:00
tsserver.go x/tools/gopls: convert to the august, 2019 version of the LSP protocol 2019-09-08 13:59:31 +00:00