commit | 53e0aa826876e42e86d5a53d2678ddb95fd4b996 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Thu Sep 24 12:56:09 2020 -0400 |
committer | Robert Findley <rfindley@google.com> | Tue Nov 10 18:07:23 2020 +0000 |
tree | f73b9499cfa235f919536668b9f384a13b0c6e55 | |
parent | 079ba7bd75cd9273a17b56fd7759dda47d106fdd [diff] |
gopls/internal/regtest: add an option to nest the workdir Add a regtest run option NestWorkdir, which causes the working directory to be nested in the editor workspace, and use it in some modfile tests to exercise the new workspace logic. For now we only run the nested tests while using experimental workspace modules. In a later CL, the 'legacy' mode will be updated to find a solitary nested module, at which point we should be able to run nested in all modes. Fixes golang/go#42111 Change-Id: I0bd3b31969684bc1ba1935633cbb9a3f26de1587 Reviewed-on: https://go-review.googlesource.com/c/tools/+/257138 Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> Trust: Robert Findley <rfindley@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 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.