commit | 229318561b070d4c688cce8d88e9ae2503161dbf | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Thu Oct 31 18:10:46 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Nov 01 16:09:22 2019 +0000 |
tree | 0b901b69d2f8bfc702b9c07b8e00f8de76a946aa | |
parent | 5be387d313b42ff81ab09ace41939a87edb9f12c [diff] |
internal/lsp: revert to old method of computing error ranges The approach of using ASTs to determine error ranges had more complications than I anticipated. Revert it for now to go back to the old user experience, while we consider a better approach. Change-Id: I5b23f0147c26089330f8a4bbf7b6914ae66cf59a Reviewed-on: https://go-review.googlesource.com/c/tools/+/204561 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.