go/internal/lsp/protocol
Pontus Leitzler 8c269738d7 gopls: add "go test" code action
This change adds "go test" as a code action and also introduce the
concept of explicit code actions, i.e. code actions that aren't returned
to the client unless it explicitly ask for it.

The purpose is to be able to have a mechanism that allows users to
execute a specific command in one shot, and future CL:s will add more of
the existing code lenses as explicit code actions. Code lenses can't be
used directly since they lack the range/kind combo to make them unique.

Updates golang/go#40438

Change-Id: I245df4e26c9e02e529662181e2c1bc44f999e101
Reviewed-on: https://go-review.googlesource.com/c/tools/+/259377
Trust: Rebecca Stambler <rstambler@golang.org>
Trust: Peter Weinberger <pjw@google.com>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-10-13 16:52:01 +00:00
..
typescript internal/lsp/protocol: add support for upcoming LSP 3.16 2020-09-11 12:00:08 +00:00
codeactionkind.go gopls: add "go test" code action 2020-10-13 16:52:01 +00:00
context.go internal/event: improve the logging of events 2020-05-11 17:49:55 +00:00
doc.go
enums.go internal/lsp: remove duplicated enums 2019-09-25 15:30:23 +00:00
log.go internal/jsonrpc2: Add Close method to Stream. 2020-05-27 15:00:44 +00:00
protocol.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00
span.go internal/lsp: allow narrower scope for convenience CodeActions 2020-07-27 23:36:28 +00:00
tsclient.go internal/lsp/protocol: add support for upcoming LSP 3.16 2020-09-11 12:00:08 +00:00
tsprotocol.go internal/lsp/semantic.go: add the skeleton for supporting semantic tokens 2020-09-30 14:30:06 +00:00
tsserver.go internal/lsp/protocol: add support for upcoming LSP 3.16 2020-09-11 12:00:08 +00:00