commit | 38d8bcfa38af6494a92557425458dc19a8e204d4 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Thu May 23 12:08:20 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu May 23 17:46:34 2019 +0000 |
tree | b098b99fe471e1e3b7eb09b2fc39188cabe6172a | |
parent | 521d6ed310dd2348b2d3c64b91c55df233c52860 [diff] |
internal/lsp: don't show diagnostics for mod files The Go file changes didn't actually check the file extensions for the files the Go extension is receiving. This error was not noticed because the VSCode extension doesn't yet actually send mod files to gopls yet, but it will in its next release. Fixes golang/go#32178 Change-Id: Ia04d0a92ce7df13fcf4c601421bc000d69855f6d Reviewed-on: https://go-review.googlesource.com/c/tools/+/178679 Run-TryBot: Rebecca Stambler <rstambler@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.