commit | 9d5940d4931278c43e995522b1077283e7ad642a | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Feb 26 17:07:02 2020 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Mar 31 20:20:46 2020 +0000 |
tree | ee7f8e8f2949057f44ac97c721f67fd580547eb5 | |
parent | ac2e956812a8a2abb6796c3b38754f3cfd7d2b4c [diff] |
internal/lsp: refactor and propagate errors from code actions This change makes sure that all errors in code actions are returned, instead of ignored. There is also a refactoring of the suggested fixes for go.mod files so that we don't compute them unless there is already a matching diagnostic. Change-Id: I34afda0116f3cc7e47809d980a0171487787e55e Reviewed-on: https://go-review.googlesource.com/c/tools/+/221221 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rohan Challa <rohan@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.