commit | cf84161cff3fdeddfd5ab5e686c1e2c17cb5db04 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Thu May 02 22:35:49 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Wed May 08 15:02:11 2019 +0000 |
tree | 22055b9e4fc83e72c8a6dceb6b6b29ec3907d883 | |
parent | 490d13020f0a39416a045e8f46a70f8bc0c423a9 [diff] |
internal/lsp: fix incremental updates and turn them on Updates that only add text have a start and end that are the same, we were erroring on those and failing to apply the changes. Fixes golang/go#31800 Change-Id: Ia31b90f108742e5532d2da35137c347c26090a6a Reviewed-on: https://go-review.googlesource.com/c/tools/+/174949 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.