commit | c2a8f45adaadaf02c21094599d4e77cd5b404e66 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Fri Dec 27 15:46:49 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Mon Dec 30 21:11:27 2019 +0000 |
tree | 16e9a03b29459d7ecdd2a9b29bad24a15d7012e9 | |
parent | 3f7dfa39cfd22df88b3253d179ba6ead6e3421fe [diff] |
internal/imports,lsp: use callbacks for completion functions We only need to return a relatively small number of completions to the user. There's no point continuing once we have those, so switch the completion functions to be callback-based, and cancel once we've got what we want. Change-Id: Ied199fb1f41346819c7237dfed8251fa3ac73ad7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212634 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: 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.