commit | 36a8f0a386c7af6d9788f28ab9595dcf7150fded | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Nov 21 23:51:01 2018 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Nov 27 19:33:00 2018 +0000 |
tree | 77f536a2fdb4a44604b3f90c8c9acb7b9e78a1a6 | |
parent | 04b5d21e00f1f47bd824a6ade581e7189bacde87 [diff] |
internal/lsp: sort completions according to rank The LSP specification doesn't have a Score field, so we must provide sortText to the protocol in order to maintain the correct order. Change-Id: I075849f520c21a0465dfb2060c598d8bae5f876b Reviewed-on: https://go-review.googlesource.com/c/151237 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
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.