commit | 7527cb292c67bbd3a51b728c01eb727eae955c93 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Fri May 01 15:24:44 2020 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Wed May 27 17:50:47 2020 +0000 |
tree | bbcf824cde2c530da0d016ff848e787b0f58862f | |
parent | 6a7cf6184f5cc49c6638c3ad76a9254719f7e082 [diff] |
internal/lsp/source: sort cached package completions by relevance Cached packages are probably more relevant than uncached packages, but we still need to go in relevance order, since we'll stop adding results after we hit the cap. Fixes golang/go#38461. (Hopefully.) Change-Id: I555dd5f7568baa8d69760ed5836341a474e94346 Reviewed-on: https://go-review.googlesource.com/c/tools/+/231619 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.