commit | 779dfa4fb2c5cc2ce6813e39dccdfb36a51c217f | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Wed Mar 16 20:47:11 2022 -0600 |
committer | Suzy Mueller <suzmue@golang.org> | Thu Mar 17 21:30:21 2022 +0000 |
tree | cadf6341dafe0f95391937cacb25e404197e14cd | |
parent | c7b0e9aca63d3039577455a6a7c703d0ffd8c945 [diff] |
internal/lsp: invalidate package on go.mod change with go.work If a go.mod file is updated, the packages in that module may have updated type check errors since the go version can affect errors. Fixes golang/go#51732 Change-Id: I3a8cd8b9ab267336ccc5c841a14c5ec5f6c986e5 Reviewed-on: https://go-review.googlesource.com/c/tools/+/393534 Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@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 install
.
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 install golang.org/x/tools/...@latest
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
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.