go/internal/lsp/protocol
Dylan Le d815cba582 internal/lsp: update LSP protocol for WorkspaceEdit
Change DocumentChanges field type from []TextDocumentEdit to []DocumentChanges. DocumentChanges is a union type of TextDocumentEdit and RenameFile used for renaming package feature. It distinguishes a renaming directory ops from a text document edit ops.

For golang/go#41567

Change-Id: I25d106b34821effc53b712800f7175248e59ee25
Reviewed-on: https://go-review.googlesource.com/c/tools/+/427538
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Dylan Le <dungtuanle@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-02 19:58:35 +00:00
..
typescript gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
codeactionkind.go gopls: add "go test" code action 2020-10-13 16:52:01 +00:00
context.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
doc.go
enums.go internal/lsp: remove duplicated enums 2019-09-25 15:30:23 +00:00
log.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
protocol.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
span.go internal/lsp/mod: fix broken assumptions about file base 2022-06-01 22:04:06 +00:00
tsclient.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
tsdocument_changes.go internal/lsp: update LSP protocol for WorkspaceEdit 2022-09-02 19:58:35 +00:00
tsprotocol.go internal/lsp: update LSP protocol for WorkspaceEdit 2022-09-02 19:58:35 +00:00
tsserver.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00