commit | 2538eef75904eff384a2551359968e40c207d9d2 | [log] [tgz] |
---|---|---|
author | Zac Bergquist <zbergquist99@gmail.com> | Sat Mar 30 14:18:22 2019 -0600 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Apr 10 21:12:19 2019 +0000 |
tree | e139f586371e97f41bd5a593ef99febf3d72667f | |
parent | db7bebf5ae722a4f82f734e051bebd8b323d5687 [diff] |
internal/lsp: enhance document symbols support Make methods children of their receiver's type symbol. Add struct fields as children of the struct's type symbol. Also identify numeric, boolean, and string types. Updates golang/go#30915 Fixes golang/go#31202 Change-Id: I33c4ea7b953e981ea1e858505b77c7a3ba6ee399 Reviewed-on: https://go-review.googlesource.com/c/tools/+/170198 Run-TryBot: Rebecca Stambler <rstambler@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.