commit | 5aca471b1d59ca42d39ca6419e64061391b9a6ad | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Jun 14 15:08:02 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Jun 14 20:56:25 2019 +0000 |
tree | 9f026ec0ad7ca6fb8f0abb37c6b49b54b7eb685b | |
parent | 6f0482744cab9ab0f859f77e8969589e5158f807 [diff] |
internal/lsp: clear diagnostics when all files from a package are closed This change clears diagnostics for a package when all files from that package have been closed in the editor. This prevents the user from seeing irrelevant diagnostics. Change-Id: I63d337805835dc45086cfba684d810f86ade5655 Reviewed-on: https://go-review.googlesource.com/c/tools/+/182463 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Ian Cottrell <iancottrell@google.com> 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.