1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:04:43 -07:00
go/internal/lsp/protocol
Peter Weinberger 20ab64c0d9 internal/lsp: bring generated protocol code up to date; stop corrupting logs
1. logging at debug/rpc.go:105 was corrupting logs.
2. DocumentSymbol (a Server method) now returns []interface{}.
3. The latest version of the LSP changed CompletionItem.TextEdit to
possibly be of the new type InsertReplaceEdit, so the generated Go
code now has TextEdit an interface{} rather than a *TextEdit. This
required a change to tests/util.go.
4. The latest version also introduced several other new types,
and new members in some structs.

Tests pass and the I've use the new gopls a little.

Change-Id: Ic44d46f0c923882c9076c2754c1c85e09fbcaa2e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222668
Run-TryBot: Peter Weinberger <pjw@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-03-09 20:21:50 +00:00
..
typescript internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00
context.go internal/telemetry: moving towards a unified event based exporter 2020-03-03 22:56:52 +00:00
doc.go
enums.go
log.go
protocol.go internal/lsp: refactor LSP server instantiation 2020-02-06 23:12:37 +00:00
span.go internal/span,lsp: disambiguate URIs, DocumentURIs, and paths 2020-02-14 22:51:03 +00:00
tsclient.go internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00
tsprotocol.go internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00
tsserver.go internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00