commit | 3304cfb00fb25f09cda462560ddd772745c198ce | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Wed Apr 01 23:22:23 2020 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Apr 02 16:54:32 2020 +0000 |
tree | 6a2685b9b8a19dc0baaa6d331c5f8961bf2a0493 | |
parent | 2d9ba733ecd239879686d1fb2d0257f51a4b67a2 [diff] |
internal/lsp: temporarily disable type error analyzers by default If we release gopls/v0.4.0 soon, we should keep these new analyzers off by default. They were just merged, so they haven't been used enough to be enabled, I think. We'll turn them on by default for gopls/v0.5.0. Also, ended up creating a helper function to check if analysis has been abled (which fixed a small bug in FindAnalysisError), and another helper function to enable all analyses for testing purposes. Updates golang/go#38212 Change-Id: I5ee94b3582dfc0863978650fc6ce51bfa0606c13 Reviewed-on: https://go-review.googlesource.com/c/tools/+/226962 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rohan Challa <rohan@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.