commit | c8fcd6ab79c006005b63f74a9ad931c92e12fc3e | [log] [tgz] |
---|---|---|
author | Muir Manders <muir@mnd.rs> | Wed Oct 23 12:07:22 2019 -0700 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Oct 23 19:47:20 2019 +0000 |
tree | 7c493412c644e6f1617dae396ce0aff2dca2dca4 | |
parent | 98e333b8b3a3c2e6e7e1da933d03d23cf8810e6f [diff] |
internal/lsp: don't offer empty "Organize Imports" action If there are no imports that need organizing, don't send the "Organize Imports" code action. Change-Id: Id01521edd1524fb3f7372fd787d6c90418740cf3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/202825 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org>
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.