commit | fc2e60c3c3d93bf3ed50cc552213b44c5799b69c | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Wed Nov 14 20:47:28 2018 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Thu Nov 15 19:04:06 2018 +0000 |
tree | 00a6b7bd436d0b363fa490d62ac5276bf47aad48 | |
parent | 5215be16cde3bead50519b4e7dd444c15c042b86 [diff] |
internal/lsp: make Definition handle embedded fields This change allows it to jump to the type if you are directly on the embedded field when you trigger go to definition. Change-Id: I48825a5a683e69c0714978c76b1d188d40b38c5d Reviewed-on: https://go-review.googlesource.com/c/149615 Run-TryBot: Ian Cottrell <iancottrell@google.com> 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.