commit | 55b754b4e0c1c396a4b0ac51b1ef806cf9b1f780 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Mon Mar 02 09:51:12 2020 -0500 |
committer | Rohan Challa <rohan@golang.org> | Tue Mar 03 19:47:17 2020 +0000 |
tree | db26bd4b0a0397e28c306f0d59a55a9f4ab21866 | |
parent | 115860e962071630067eb55fd778cc7c37b56296 [diff] |
internal/lsp: fix active param in signature help This change adjusts where the start and end of the arguments list are when determining which parameter is the active paramter. Rather than use the first and last argument's position, we will use the start and ending parentheses. Fixes golang/go#37271 Change-Id: I70bc5c8b4bdb5242fc35a20e63b9a8860cb1d6bd Reviewed-on: https://go-review.googlesource.com/c/tools/+/221817 Run-TryBot: Rohan Challa <rohan@golang.org> 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.