commit | e750c417fbbc76ecc8514bcc384e9b3337b49a7d | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Thu Jun 27 21:26:42 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jul 01 18:53:50 2019 +0000 |
tree | 574f1ff541c71442dd529ddcd7b0feb0e72d255d | |
parent | 30f1cf78d76cba5cdd81eefb1ad54cdddae161ad [diff] |
internal/lsp: handle the context.only parameter for code actions This change refactors code actions to handle the Context.Only parameter, which indicates which code actions a language server should execute. Change-Id: Iddfccbbeba3a53fde2aa8df844434f2ab9d01666 Reviewed-on: https://go-review.googlesource.com/c/tools/+/184158 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.