1
0
mirror of https://github.com/golang/go synced 2024-11-20 06:44:40 -07:00
go/misc
Dominik Honnef 24f476409c misc/emacs: Add support for godef
godef[1][2] is a third party tool for printing information about
expressions, especially the location of their definition. This can be
used to implement a "jump to definition" function. Unlike
cross-language solutions like ctags, godef does not require an index,
operates on the Go AST instead of symbols and works across packages,
including the standard library.

This patch implements two new public functions: godef-describe (C-c
C-d) and godef-jump (C-d C-j). godef-describe describes the expression
at point, printing its type, and godef-jump jumps to its definition.

[1]: https://code.google.com/p/rog-go/source/browse/exp/cmd/godef/
[2]: go get code.google.com/p/rog-go/exp/cmd/godef

R=adonovan, cw, patrick.allen.higgins, sameer
CC=golang-dev
https://golang.org/cl/7781043
2013-03-19 11:29:28 -04:00
..
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
bash misc/bash: Completion for go tool. 2012-02-28 07:41:49 +11:00
bbedit misc/bbedit, misc/notepadplus: remove executable bits from files. 2013-03-12 14:29:25 -07:00
cgo runtime: fix cgo callbacks on windows 2013-03-07 09:18:48 -05:00
chrome/gophertool gophertool: fix links 2012-10-22 01:05:21 +08:00
dashboard misc/dashboard/codereview: better debugging when some fetches fail. 2013-03-15 14:45:00 +11:00
dist misc/dist: fix Windows breakage 2013-03-18 08:56:38 +11:00
emacs misc/emacs: Add support for godef 2013-03-19 11:29:28 -04:00
fraise misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
git misc/git: add gofmt git pre-commit hook 2012-11-15 19:58:49 +01:00
goplay cmd/godoc: use go/build to determine package and example files 2013-02-19 11:19:58 -08:00
IntelliJIDEA misc: syntax highlighting support on IntelliJ IDEA 2011-05-20 11:03:33 -07:00
kate kate: add error and rune 2011-11-14 11:16:06 -08:00
notepadplus misc/bbedit, misc/notepadplus: remove executable bits from files. 2013-03-12 14:29:25 -07:00
swig cmd/go, go/build, misc/swig: add SWIG support to Go tool 2012-08-03 18:08:43 -07:00
vim misc/vim: update installation instructions to work better with some Linux distributions. 2013-02-18 14:03:47 +11:00
xcode misc/xcode: fix typos 2012-03-05 15:50:48 -08:00
zsh testing: change -test.benchtime to a flag.Duration. 2012-10-09 08:57:29 +11:00
benchcmp misc/benchcmp: show byte allocation statistics 2012-12-22 14:51:16 -05:00
pprof misc/pprof: fix address lookup regression on Linux 2013-03-13 09:40:38 -07:00