1
0
mirror of https://github.com/golang/go synced 2024-11-19 10:04:56 -07:00
go/internal/lsp/protocol/preserve
Peter Weinberger 6a988fd03a tools/cmd/gopls: modify gopls to use automatcally generated types
Gopls presently uses hand-coded data types (in internal/lsp/protocol)
for communicating with LSP clients. Instead, modify it to use the
automatically generated file (internal/lsp/protocol/tsprotocol.go).

Replaced files have been put (temporarily) in a directory 'preserve'
so readers can compare the old data types with the new ones.

Change-Id: Idfa53a5783e2d6a47e03b20641dd76fbc2c32677
Reviewed-on: https://go-review.googlesource.com/c/tools/+/166757
Run-TryBot: Peter Weinberger <pjw@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-03-12 15:13:52 +00:00
..
basic.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
diagnostics.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
general.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
language.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
README tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
registration.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
text.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
window.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
workspace.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00

These are the hand-generated protocol files, for reference while debugging.