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> |
||
---|---|---|
.. | ||
cache | ||
cmd | ||
diff | ||
protocol | ||
source | ||
testdata | ||
completion.go | ||
diagnostics.go | ||
format.go | ||
imports.go | ||
lsp110_test.go | ||
lsp_test.go | ||
position.go | ||
server.go | ||
signature_help.go |