commit | 550556f78a900afacb9e8b22219f5e5b5c6106db | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Apr 24 19:26:34 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Sun Apr 28 02:47:24 2019 +0000 |
tree | e09f3f1656dbfcb955c19c9642a1a0d2437daed0 | |
parent | ad9eeb80039afa52dec461f6814f3f79c5b45c39 [diff] |
internal/lsp/source: refactor completion This change separates the completion formatting functions from the completion logic. It also simplifies the completion logic by necessary values per-request into a struct that is used throughout. Change-Id: Ieb6b09b7076ecf89c8b76ec12c1f1c9b10618cfe Reviewed-on: https://go-review.googlesource.com/c/tools/+/173779 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.