1
0
mirror of https://github.com/golang/go synced 2024-11-05 18:56:10 -07:00
go/internal/lsp/debug
Heschi Kreinick c9619e8fac internal/lsp: separate LSP files from FS files
FileHandle currently includes LSP-level information about Version and
Session. That's dangerous, because the cache operates in terms of
URIs and content only -- we explicitly want to share results across
sessions and versions if they happen to be the same.

Split the LSP information into separate types, VersionedFileHandle and
VersionedFileIdentity.

Change-Id: I158646b783375b58245468599301e2a29c657e71
Reviewed-on: https://go-review.googlesource.com/c/tools/+/245058
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-08-03 22:16:06 +00:00
..
tag internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
info.1.11.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.1.12.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.go internal/lsp/cache: add concurrency error check for go cmds 2020-04-08 03:22:09 +00:00
metrics.go internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
rpc.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00
serve.go internal/lsp: separate LSP files from FS files 2020-08-03 22:16:06 +00:00
trace.go internal/event: remove the event.eventType type 2020-04-27 15:30:19 +00:00