go/internal/lsp/protocol
Suzy Mueller 8865782bc0 internal/lsp: add text edits for unkeyed literals
Add text edits that a user can accept to make the unkeyed composite
literals keyed from the inlay hints. The text edits modify all of
the unkeyed fields in a composite literal, since a mixture of keyed
and unkeyed fields are not allowed.

Change-Id: I0683fbaa5e22bc004b91c98fc09e495e797826ee
Reviewed-on: https://go-review.googlesource.com/c/tools/+/414855
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
2022-06-30 17:08:31 +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
tsprotocol.go internal/lsp: add text edits for unkeyed literals 2022-06-30 17:08:31 +00:00
tsserver.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00