commit | 7d589f28aaf42086c56499a48b55b9c1495e1453 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Mon May 13 16:49:29 2019 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Mon May 13 23:30:21 2019 +0000 |
tree | 48d7055995d92bfb60a9f6573fb0074202ae19f5 | |
parent | de15caf06883ef4b64055185bf510b1dec8f2ca1 [diff] |
internal/lsp: stop trimming prefix from InsertText After some discussion about how to handle insert and filter text (https://github.com/microsoft/vscode-languageserver-node/issues/488), it seems that it is better practice to overwrite the prefix in completion items, rather than trimming the prefix from the insert text. Change-Id: I7c794b4b1d4518af31e7318a283aa3681a0cf66a Reviewed-on: https://go-review.googlesource.com/c/tools/+/176958 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
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.