commit | 1c78e262338f760ac624f8212acaad9a23c3525b | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Jul 02 18:37:59 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Jul 03 17:17:32 2019 +0000 |
tree | cc22ebe89c36c6dd6675276eaf5f00422a66dfcb | |
parent | 9d59f9e855658d0b9a057f2b52549e14946d84c1 [diff] |
internal/lsp: add configuration for hover levels Instead of defaulting to a one sentence synopsis for documentation on hover, allow the user to configure the amount of documentation they want to see. Right now, the options are none, some (using go/doc.Synopsis), or all. We should add a 4th, single-line, mode, which will allow clients like vim-go to stop stripping off documentation on hover. Updates golang/go#32561 Change-Id: I529242da84b794636984d5ef2918b7252886f0ef Reviewed-on: https://go-review.googlesource.com/c/tools/+/184797 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.