Implement the "what" query and use it to get all uses of an identifier (the "sameids" attribute). The user can either manually call go-guru-hl-identifier, which will highlight all instances of the identifier under point, or they can enable the go-guru-hl-identifier-mode minor mode. The minor mode sets up an idle timer, which will highlight the current identifier after a configurable timeout. If the user modifies the buffer, or moves point off of an identifier, we clear the highlight. Change-Id: Iac870f3bcd17e0002eafcba0b73f07adaa03cd76 Reviewed-on: https://go-review.googlesource.com/20433 Reviewed-by: Alan Donovan <adonovan@google.com> |
||
---|---|---|
benchmark/parse | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
go | ||
godoc | ||
imports | ||
oracle | ||
playground | ||
present | ||
refactor | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README | ||
codereview.cfg |
README
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 oracle 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. To submit changes to this repository, see http://golang.org/doc/contribute.html.