commit | fcc905b221ba4f31414c0ad626dbd1c8957dad8a | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Fri Jul 30 16:54:45 2021 -0400 |
committer | Robert Findley <rfindley@google.com> | Mon Aug 09 20:21:32 2021 +0000 |
tree | 749e54a0a115cdb32b7be6f29a86a6788781377b | |
parent | 28b26823c858499e041eae34080ec1f8f9c4fbbe [diff] |
internal/lsp/source: parallelize workspace symbols Especially on larger repositories, paralellizing workspace symbol requests can significantly decrease latency. Benchmark (fastfuzzy "test" in x/tools): 17ms->11ms Benchmark (fuzzy "test" in x/tools): 42ms->17ms Benchmark (fastfuzzy "test" in kubernetes): 183ms->65ms Change-Id: I21a1d844a0fc2a5f4c2fe5762620c82870586f54 Reviewed-on: https://go-review.googlesource.com/c/tools/+/338729 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <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.