commit | 2e68ad74ea7fea8e1e2c172cb58407eacc2228eb | [log] [tgz] |
---|---|---|
author | Muir Manders <muir@mnd.rs> | Tue Sep 17 15:10:05 2019 -0700 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Sep 25 19:53:33 2019 +0000 |
tree | c03a1a881369569ecdae4912960719ee7141e13c | |
parent | ae58c0ff6b321948d5448556eaab98decacdc59e [diff] |
internal/lsp: fix scope of FuncType completion candidates Fix objects defined in the function signature to only be completable inside the function body. For example: func (dog Dog) bark(d<>) { // Don't complete <> to "dog". d<> // Do complete <> to "dog". } Change-Id: Ic9a2dc2ce6771212780f2d6af2221a67d203f35f Reviewed-on: https://go-review.googlesource.com/c/tools/+/196559 Run-TryBot: Rebecca Stambler <rstambler@golang.org> 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.