commit | eac381796e91db0acd689726cce5b78086509607 | [log] [tgz] |
---|---|---|
author | Muir Manders <muir@mnd.rs> | Sun Jan 12 19:27:12 2020 -0800 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Jan 13 04:08:37 2020 +0000 |
tree | cb6e5b18448c32d24f8bcecc1c2de77810c6cc9b | |
parent | a7a6caa82ab2c7a235db8f1e47d3a8f2e7a6c054 [diff] |
internal/lsp: fix completion ordering workaround Our loop to make all candidates use the same "filterText" wasn't including the final candidate. This was causing strange ordering of candidates in VSCode when the "worst" candidate happened to match the prefix exactly (causing VSCode to reorder it to the top). Fixes golang/go#36519. Change-Id: Ie2119ca94d13f337edd241fbde862706bdeee191 Reviewed-on: https://go-review.googlesource.com/c/tools/+/214184 Run-TryBot: Muir Manders <muir@mnd.rs> 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.