tools/internal/lsp
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
..
cache internal/lsp: add cache for type information 2019-03-08 17:45:44 +00:00
cmd internal/lsp: add cache for type information 2019-03-08 17:45:44 +00:00
diff internal/lsp/diff: fix bug that adds extra line to files on format 2019-02-13 04:28:36 +00:00
protocol tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
source internal/lsp: add cache for type information 2019-03-08 17:45:44 +00:00
testdata internal/lsp: remove handling for circular imports 2019-03-04 22:34:19 +00:00
completion.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
format.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
imports.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +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 tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
position.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
server.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00