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> |
||
|---|---|---|
| .. | ||
| README | ||
| basic.go | ||
| diagnostics.go | ||
| general.go | ||
| language.go | ||
| registration.go | ||
| text.go | ||
| window.go | ||
| workspace.go | ||
README
These are the hand-generated protocol files, for reference while debugging.