commit | 593413344da1b4136c3654ec0465f58e39fb6f81 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Thu Apr 08 11:42:41 2021 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Apr 08 11:52:58 2021 -0400 |
tree | 31eb1e9f2aa1d4d240b9d9e01073ab549f7075d2 | |
parent | 774f4538f3d16b25207b14c7977c0eb8af01b487 [diff] | |
parent | b261fe96097f8db197a1033090651783e8eb8350 [diff] |
[gopls-release-branch.0.6] all: merge master into gopls-release-branch.0.6 b261fe96 go/tools: add vet check for direct comparion of reflect.Values e78b40c7 internal/lsp: switch to 'go get -u ./...' for transitive upgrades 3ac76b8b gopls/internal/coverage: better error messages and output c6024661 Revert "internal/lsp/cache: disable GOPACKAGESDRIVER" 35a91593 go/internal/gcimporter: ensure that imported floats are of float kind 5d334387 go/internal/gcimporter: merge go1.11 tests back into gcimporter_test.go 11c3f835 internal/lsp/source: fix Highlight for std and 3rd-party packages 8c34cc9c internal/lsp/cache: fix race condition in snapshot's initializedErr 0deaffd2 gopls/internal/regtest: re-enable the gc_details regtest for -short af364066 internal/lsp/source: respond with the underlying type to Type Definition requests for composite types 682c7e60 godoc/static: link to golang.org for content moved out of Go root ca627f83 internal/lsp/semantic: fix some type definitions 04595890 internal/lsp/protocol/typescript: small cleanups and add tsconfig.json b0e994dc internal/jsonrpc2_v2: move the idle timeout handling out of the server 95535753 internal/lsp: remove unnecessary call to WorkspacePackages in mod tidy 769264cf internal/lsp/source: fix docs for fields of anonymous structs/interfaces cb7d5993 internal/lsp/source: skip blank identifiers during the function extraction 94a19427 internal/lsp/completion: move postfix completions behind option 09058ab0 internal/lsp/source/completion: add postfix snippet completions 2c039f7f internal/event/label: prevent unsafe get of non-string 4c8e4a8b go/analysis/passes/inspect: fix typo in comment 63ea654b internal/lsp: hold the gc details lock when storing diagnostics 7f6d50ea internal/lsp/source: fix hover and completion with dot imports b3556f0f internal/lsp: remove some unused parameters, mostly in the cache package 09a00c1a internal/lsp: fix support for SourceFixAll code actions 877f9c48 internal/jsonrpc2_v2: an updated jsonrpc2 library 52cb7724 gopls: upgrade mvdan.cc/gofumpt to v0.1.1 a1191f37 gopls: upgrade honnef.co/go/tools to v0.1.3 d8aeb16b internal/lsp: add defaultLibrary mod for basic types aa0c7234 internal/lsp/cache: get control of reloadOrphanedFiles d7a25ada gopls/integration: remove obsolete code 9bdb4197 gopls/internal: add coverage command to compute test coverage d2e11a2b present: don't drop commands that immediately follow text 695b1675 cmd/present2md: allow comments to be retained in translated document a14ff98a present: retain complete caption command when parsing captions 1aac171f Update emacs.md - add .dir-locals.el example 2c4a8865 internal/lsp: remove module diagnostics from code actions 9b614f5d internal/lsp/cache: tolerate analysis panics better 9e9211a9 gopls/internal/regtest: fix race when printing regtest state on falure 6d45e3d9 internal/lsp: add a temp workspace per folder, and a helper command e409f121 internal/lsp: add snippet completion for t.Fatal errs 8e4f4c86 godoc: delete GoogleCN logic 44abc2a7 internal/lsp: only load by view when there are no go.mod files Change-Id: Ie5d628f640a8edaeb41c4cdf30aafefbc892ec7c
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.