commit | 978e77c45515478c613fd3c1367791cee1ad0ef3 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Fri Aug 07 15:52:01 2020 -0400 |
committer | Robert Findley <rfindley@google.com> | Mon Aug 10 15:18:52 2020 +0000 |
tree | 73f4022bbac3f6450f5369087e7c9df3ac020009 | |
parent | 30a0893a9824226ecae619de4ff4830d8d39cf6e [diff] |
internal/lsp/progress: refactor progress reporting Progress reporting has gotten complicated, and has had a couple bugs. Factor out progress-related behavior to a new progressTracker type, and use this to implement some unit tests. Also rename some methods to remove stuttering, and reorganize the code to be more logical. Fixes golang/go#40527 Change-Id: I93d53a67982460e7171f892021e99f4523fe3e5d Reviewed-on: https://go-review.googlesource.com/c/tools/+/247407 Run-TryBot: Robert Findley <rfindley@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.