commit | bca362e842d497814cb616549d97b5481101b10d | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Fri Jun 07 10:04:22 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Mon Jun 10 19:06:22 2019 +0000 |
tree | 963354a6fb3c2362a67a8e71ed4992b4f6b2637f | |
parent | 5ae6a9745e44f90b85d14baaf7e4bd6419db11ab [diff] |
internal/lsp: add find all references This change implements the find all references feature by finding all of the uses and definitions of the identifier within the current package. Testing for references is done using "refs" in the testdata files and marking the references in the package. Change-Id: Ieb44b68608e940df5f65c3052eb9ec974f6fae6c Reviewed-on: https://go-review.googlesource.com/c/tools/+/181122 Run-TryBot: Suzy Mueller <suzmue@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.