all: merge master (abc106c) into gopls-release-branch.0.8

Also add a replace directive to gopls/go.mod.

Updates golang/go#51074

Conflicts:

- gopls/go.mod (due to gofumpt update)

Merge List:

+ 2022-02-28 abc106cd gopls/integration/govim: build gopls using go1.18rc1
+ 2022-02-28 c2ddf3dd internal/lsp: add quick fix for unsupported feature
+ 2022-02-28 0e44f7a8 gopls/doc/advanced.md: correct commands for unstable version build
+ 2022-02-25 acdddf67 go/ssa: allows right operand of a shift to be signed.
+ 2022-02-25 9ffa3ad3 internal/lsp: Provide completions for test function definitions
+ 2022-02-24 b7525f43 internal/lsp: hash go version into package key
+ 2022-02-24 5210e0ca gopls: wire in LangVersion and ModulePath for gofumpt formatting
+ 2022-02-24 e6ef7709 go/types/typeutil: don't recurse into constraints when hashing tparams
+ 2022-02-23 258e4730 internal/lsp/source: disable the useany analyzer by default
+ 2022-02-23 b7d29496 internal/lsp: don't store diagnostics for builtin.go
+ 2022-02-23 4f21f7a5 gopls: update gofumpt to v0.3.0
+ 2022-02-22 3e31058c internal/imports: update to permit multiple main modules
+ 2022-02-22 43f084e5 internal/typesinternal: update typesinternal for 1.18
+ 2022-02-18 897bd77c internal/gocommand: remove support for -workfile
+ 2022-02-17 e6a7e133 go/analysis/tools/internal/checker: add support for RunDespiteError

Change-Id: I4ca5a581cb276b904f4a9d73d686aaa7cb0c6093
tree: 23cbff7c925a221346118135cea87a415dca23c5
  1. benchmark/
  2. blog/
  3. cmd/
  4. container/
  5. copyright/
  6. cover/
  7. go/
  8. godoc/
  9. gopls/
  10. imports/
  11. internal/
  12. playground/
  13. present/
  14. refactor/
  15. txtar/
  16. .gitattributes
  17. .gitignore
  18. .prettierrc
  19. AUTHORS
  20. codereview.cfg
  21. CONTRIBUTING.md
  22. CONTRIBUTORS
  23. go.mod
  24. go.sum
  25. LICENSE
  26. PATENTS
  27. README.md
README.md

Go Tools

PkgGoDev

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.

Download/Install

The easiest way to install is to run go install golang.org/x/tools/...@latest.

JS/CSS Formatting

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.

Report Issues / Send Patches

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.