commit | 2d28432af7a5a441de115cf3ccf9a2af1cdc332c | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Mon Apr 29 20:58:12 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Tue Apr 30 19:42:29 2019 +0000 |
tree | 64ac2a820b7b3b515495e61bf0117b5b56bfdcfa | |
parent | 08ecc9edd986314bbac56119515b56bf1cd52eec [diff] |
internal/lsp: first pass at some hover tests This uses golden files to hold the hover text as they are no more fragile than hard coding the text in the tests, and much easier to update. We need a lot more tests, and ones with actual comments, but this is a start and at least adds the machienery it would take. Change-Id: Ia2f79257642759e4c2f972d4037f258134e0fb33 Reviewed-on: https://go-review.googlesource.com/c/tools/+/174380 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.