commit | 9bae6688e3719b60847165d3b6c3d81c950396db | [log] [tgz] |
---|---|---|
author | Muir Manders <muir@mnd.rs> | Sat Jan 18 13:33:26 2020 -0800 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Jan 22 21:43:17 2020 +0000 |
tree | 83113ee859b79705b4577121009fe19edb8a6235 | |
parent | 7b0c362a2fbafa6e4c33919847d60b2c1ae8e950 [diff] |
internal/lsp/source: support dereferencing for completion In cases like: var j *int var i int = <> We will now provide "*j" as a completion candidate. Change-Id: I1d35c2dca4864f13f7534e15b17450d784985557 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215358 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.