commit | 695c81b9c693534f2daef553f9b55116b70768a6 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Wed Feb 12 16:13:57 2020 -0500 |
committer | Rohan Challa <rohan@golang.org> | Thu Feb 13 21:50:53 2020 +0000 |
tree | dfe45c2b34b367398251adaa002cec49a9d392a7 | |
parent | e3acd584e2df2ab36886e1577f4ea15f91335d1a [diff] |
internal/lsp: fix diagnostics not clearing when creating new files This change fixes an issue where import errors would not disappear when creating new files in a module by removing the segment of code where we check for listErrors when fixing imports. Updates golang/go#36960 Change-Id: Iefa17edeb0417cac7e33ffa88faf7c9a607e98b3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/219222 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.