commit | c26e340d2f6d4e95b683e6fe994653436ca30337 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Nov 07 20:57:08 2018 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Nov 08 16:15:53 2018 +0000 |
tree | 759d70a30f002a157ee3749ea56ce64e2b28ebd8 | |
parent | a28dfb48e06b2296b66678872c2cb638f0304f20 [diff] |
internal/lsp: refactor completion and move into source directory The completion function belongs in internal/lsp/source, so move it there. Some small refactoring of completion, by moving each type of completion into helper functions that append to the list of results. Change-Id: I8599092906609591d499183657fe2d21d1f74df1 Reviewed-on: https://go-review.googlesource.com/c/148397 Reviewed-by: Ian Cottrell <iancottrell@google.com> 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.