1
0
mirror of https://github.com/golang/go synced 2024-11-18 20:24:41 -07:00
go/internal/lsp/protocol
Ian Cottrell 5d16bdd7b5 internal/lsp: add the ability to log back to the client
Also use it for errors that were otherwise silently dropped
This makes it much easier to debug problems.

Also added command line control over whether the rpc trace messages are printed, which allows you to read the
log, otherwise the file edit messages swamp the log.

Change-Id: I7b70fd18034a87b2964e6d6d5f6f33dcaf7d8ea8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/170178
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-04-01 16:22:08 +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/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
log.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
printers.go internal/lsp: convert to the new location library 2019-03-13 19:34:21 +00:00
protocol.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
server.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
span.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
tsprotocol.go internal/lsp: add a work-around for golang.org/issue/31090 2019-03-29 22:58:45 +00:00