1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:34:41 -07:00
go/internal/lsp/protocol
Peter Weinberger 11e13f1c3f internal/lsp: fix the return type of CodeAction()
Paul Jolly observes that returning interface{} is not helpful.
Now CodeAction() returns []CodeAction.

The type in typescript is (Command | CodeAction)[] | null
but the choice is up to gopls, which returns []CodeAction.

Fixes golang/go#35688, golang/go#35679

Change-Id: I91c22bb0752431954ae2f993cb7b44726cf60e5c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/207898
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-11-19 17:57:05 +00:00
..
typescript lsp/protocol/typescript: add instructions for typescript compiling 2019-11-13 18:38:21 +00:00
context.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: remove duplicated enums 2019-09-25 15:30:23 +00:00
log.go internal/lsp: fix lsp trace log format for gopls 2019-10-16 17:14:07 +00:00
protocol.go internal/lsp: reorganize the generated Go code for the lsp protocol 2019-11-18 19:51:19 +00:00
span.go internal/lsp: reduce usage of column mapper 2019-09-16 22:00:07 +00:00
tsclient.go internal/lsp: reorganize the generated Go code for the lsp protocol 2019-11-18 19:51:19 +00:00
tsprotocol.go internal/lsp/protocol: fix type of WorkspaceEdit.Changes in tsprotocol.go 2019-11-18 21:13:12 +00:00
tsserver.go internal/lsp: fix the return type of CodeAction() 2019-11-19 17:57:05 +00:00