commit | 4b1f3b6b1646cd96503e999bfa428631d60c74ca | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Wed Nov 07 12:58:55 2018 -0500 |
committer | Ian Cottrell <iancottrell@google.com> | Mon Nov 12 21:02:38 2018 +0000 |
tree | c6b14d06c4dfff5ad241d188c1b661ea21bf83a3 | |
parent | 806e1cfd89d53e23e5143a4b6f10596cbf85ea7a [diff] |
internal/lsp: make format work on the ast not the source This makes the format code use the AST that is already cached on the file to do the formatting. It also moves the core format code into the source directory. Change-Id: Iaa79169708e92525cce326ea094ab98144fe1011 Reviewed-on: https://go-review.googlesource.com/c/148198 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <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 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.