commit | 204d844ad48d13a8a6db39aec90b837cce2e46d9 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Feb 26 15:27:56 2020 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Feb 26 22:45:02 2020 +0000 |
tree | a0a22d1be9a1c417dc3c1962341b1cfa729dfd5a | |
parent | 2e887e3d13017a47e1ebe27cefbd572547a67b9b [diff] |
internal/lsp: mitigate possiibility of a slow code action Related to https://github.com/microsoft/vscode-go/issues/3063. A small collection of fixes: (1) Don't reload packages with missing dependencies unless imports change. (2) Show the error message from the initial workspace load to the user. Also, a small fix for deletion suggested fixes - upgrading to the latest version of the VS Code language client revealed that I had made a mistake there. Change-Id: I7ab944ed27dc3da24a79d5d311531a1eb2b73102 Reviewed-on: https://go-review.googlesource.com/c/tools/+/221217 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@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.