commit | c4a336ef6a2feb97e86b0c7ebdd500717074f42b | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Wed Aug 21 22:40:36 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Fri Aug 23 17:09:09 2019 +0000 |
tree | b80d4a6043bc82bd4ceff31be628dc95d6146fbf | |
parent | aa644d2adf2a0206508fa6a8f9de0e726dddf77e [diff] |
internal/lsp: support renaming of import spec This change allows renamings of the name of an import spec. Since there is not always explicit identifier available to select and rename, allow renaming packages from positions within the import spec. Change-Id: I0a8aaa92c26e1795ddb9c31a1165b2f2ee89aa34 Reviewed-on: https://go-review.googlesource.com/c/tools/+/191165 Run-TryBot: Suzy Mueller <suzmue@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.