commit | 69111344d4a5c0b74147e6a173ec7b61a910628f | [log] [tgz] |
---|---|---|
author | Barnaby Keene <accounts@southcla.ws> | Fri Oct 11 16:03:23 2019 +0100 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Dec 05 20:53:10 2019 +0000 |
tree | d08aa43b61e2689ee96fef1483590f32a9eee945 | |
parent | 61fa4dffed09fb8cad42837dbc5fc1275d09624a [diff] |
internal/lsp: expose godoc or pkg.go.dev link on hover This adds a link to documentation to the hover contents for the current symbol if it is exported. Updates golang/go#34240 Change-Id: I19c66e91e46f79284bfd0006c53f518eda4edef7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/200604 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
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.