1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:04:40 -07:00
go/internal/lsp/protocol
Peter Weinberger 0bb0c0a6e8 tools/internal/lsp/protocol: generate LSP protocol types from source
The existing code implementing the jsonrpc LSP (language server protocol)
relies on hand-translated definitions for the needed Go data types.
Unfortunately Microsoft makes changes, not always backwards
compatibly. This code generates the Go data types directly from the
Typescript source.

Adapting gopls to the new data definitions will happen in a future CL.

Change-Id: I032c69a16b6f2614370765dcd6dbdb38e9f40ab6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/166277
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-03-12 15:15:45 +00:00
..
preserve tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
typescript tools/internal/lsp/protocol: generate LSP protocol types from source 2019-03-12 15:15:45 +00:00
client.go internal/jsonrpc2: change to a more synchronous dispatch model 2018-11-14 19:09:51 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
printers.go internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
protocol.go internal/jsonrpc2: change to a more synchronous dispatch model 2018-11-14 19:09:51 +00:00
server.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00
tsprotocol.go tools/cmd/gopls: modify gopls to use automatcally generated types 2019-03-12 15:13:52 +00:00