commit | 713d4893e8747c466a3cf368f7a438691793eb1a | [log] [tgz] |
---|---|---|
author | Peter Weinberger <pjw@google.com> | Mon Nov 25 14:00:03 2019 -0500 |
committer | Peter Weinberger <pjw@google.com> | Mon Dec 02 18:46:12 2019 +0000 |
tree | f896131078cb9e94eb92935af2cc89f196b5083c | |
parent | ffc413ea38bb3d587594e426b179eceac97cd366 [diff] |
internal/lsp/protocol: replace code for generating LSP types and stubs The new code generates all 3 files (tsprotocol.go, tsserver.go, tsclient.go) at once and tries not to generate unneeded types. This is the code that generated the checked-in files currently being used (including CL208272 and 209219). README.md has been modified correspondingly. Change-Id: I719781a09f27bf0a426f8da3e45f7fa2eb0a7484 Reviewed-on: https://go-review.googlesource.com/c/tools/+/208665 Run-TryBot: Peter Weinberger <pjw@google.com> 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 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.