commit | fd66c7521c0f4ce8d1e990fd59af0b65bb6fc000 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Mon Dec 23 13:19:17 2019 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Mon Dec 30 21:10:09 2019 +0000 |
tree | 8026e21c657d16aa0aacc7fc809505d05f754c97 | |
parent | 234df48a208cb23f778dd5a7c48315b528a1b0f3 [diff] |
internal/lsp/source: don't get unnecessary unimported completions Unimported completions are always low-priority. If the user already has 100 completion options, the unimported ones are probably not useful. There's no point in calculating any of them. Also, only do unimported completions for package members when they're enabled. Oops. Change-Id: I7535a22ad56bed869dceb6cd0ffdfc6390cf8eb5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212629 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.