commit | e5b8258f49188ec2c4702802a35d1ea0c7ccee77 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Apr 05 18:05:31 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon Apr 08 22:03:57 2019 +0000 |
tree | e6605be42489e3614a0ce7b0875b707d0805e0ac | |
parent | 12dd9f86f35064e818f2474523ed0aacba64399f [diff] |
internal/lsp: stop formatting on files that do not parse This change will stop formatting from working on any file that does not parse. This is a temporary fix to handle the formatting problems mentioned here: https://github.com/Microsoft/vscode-go/issues/2410, but is not a long-term solution. Change-Id: Ie34b1876519832d6859db95fdcad7cc37a20b769 Reviewed-on: https://go-review.googlesource.com/c/tools/+/171019 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.