commit | 15ad1aa0cbfab7f8ca1631cbff233055bce788bc | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue Nov 06 14:04:07 2018 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Wed Nov 07 18:43:41 2018 +0000 |
tree | 48b08c8e5c0950004445e47740cd34765311e39d | |
parent | d0600fd9f1e4e671be16626adc0d76d54a50dfdf [diff] |
internal/lsp: implement go to definition This enables go to definition for the lsp. It has one known non working case (where the filenames have $GOROOT in them) Change-Id: I142c6e04b8691c5076dfcd55592ea710b4b361a4 Reviewed-on: https://go-review.googlesource.com/c/148158 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.