commit | a0f5e6c5c28cd7ac82dc45318ee2465c103c6e9f | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Mon Jul 15 17:02:40 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Mon Jul 15 22:13:26 2019 +0000 |
tree | 48656cef59ba55763ecb814948f8c3ad3c6b9632 | |
parent | 9e48ab1d90cd1149871596a85c24cc0c6376e013 [diff] |
internal/lsp: sort rename results We recommend that gopls integrators apply the []TextEdit responses in reverse order to get a correct resulting document. This strategy works when the response is already sorted. Have gopls return sorted []TextEdit for each file. Fixes golang/go#33123 Change-Id: Ib570881c9623695d2ae3194fa8a97b0a681a3250 Reviewed-on: https://go-review.googlesource.com/c/tools/+/186258 Run-TryBot: Suzy Mueller <suzmue@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.