commit | 633b092c1ed37a3d99a4cff506d3044328b2e5cb | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Fri Jan 17 13:12:00 2020 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Fri Jan 17 20:46:10 2020 +0000 |
tree | 2cd5864348760a1b13030eff838ebe004376f5ef | |
parent | 351fb220e1b4c8af14d9e2125e0577b82dbe1e2a [diff] |
internal/lsp: add recency check to avoid sending old diagnostics This change uses snapshot IDs instead of file versions to determine if diagnostics are stale. Fixes golang/go#36601. Change-Id: I7727a30222fecf2d7733fa013c6cee6338ffd968 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215298 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.