commit | 97cd989a767277f2e36b1f79cc635b38fdc98ada | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Jan 10 12:29:37 2020 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Wed Jan 15 22:25:09 2020 +0000 |
tree | b5ee4efa8f5955f7bc78c16ab7929754d79bf20a | |
parent | 0110d43865d98cb11ba50e117b110055486c7612 [diff] |
internal/lsp: remove boolean for publishEmpty in diagnostics This parameter was added to avoid sending a slew of empty diagnostics for the initial workspace load. It's actually not needed anymore, as we can just detect if we have previously sent diagnostics for the given file, and if not we shouldn't send an empty diagnostic. This is true for all cases, not just the initial workspace load. Change-Id: I34a323bc0c0df79edd39630cd25577238b256266 Reviewed-on: https://go-review.googlesource.com/c/tools/+/214287 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@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.