commit | 035a8167be0b8c5b9a6ecde6d17b0306a9d7ff6a | [log] [tgz] |
---|---|---|
author | Muir Manders <muir@mnd.rs> | Fri Nov 22 09:12:47 2019 -0800 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Nov 22 18:27:03 2019 +0000 |
tree | 493554c11fd36422240e3153ecebc5457b1f0f11 | |
parent | 0ae87fff1b85673ca22fae0603daf76d984734ac [diff] |
internal/lsp: improve completion ordering workaround Instead of making all completion candidates look like perfect matches to VSCode, we now make all candidates match exactly like the first candidate. This still causes VSCode to maintain the ordering from gopls, but it fixes the absolute match score of gopls's top candidates. This fixes interplay with other sources of VSCode completions, such as user defined snippets. Fixes golang/go#35782. Change-Id: Ie7e489b76a02fb1353b63fa3c6fa42afee2e1441 Reviewed-on: https://go-review.googlesource.com/c/tools/+/208439 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@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.