commit | f29cbc7105424c48527b8b420949cfe3d1d1a53c | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Tue Jul 28 17:00:10 2020 -0400 |
committer | Heschi Kreinick <heschi@google.com> | Wed Aug 05 22:08:24 2020 +0000 |
tree | ee7dafa39ec587cf6de1ac52877845243d075b52 | |
parent | b4d825fe358bb9396e7eea0190f806b918053b06 [diff] |
internal/lsp: remove source.Cache snapshot.View().Session().Cache().FileSet() has been driving me crazy for a while. Add it to snapshot. Along the way, discover that the Cache interface is now totally unused and delete it. I also changed a bunch of View arguments to Snapshot while I was in the area. Change-Id: I1064d0020b1567c2ed28d2d55e0f4649eb94c060 Reviewed-on: https://go-review.googlesource.com/c/tools/+/245324 Run-TryBot: Heschi Kreinick <heschi@google.com> 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 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.