måndag 14 september 2009

CTAGS för Emacs

A tool for creating TAGS files used by Emacs to quickly orientate in source code: http://ctags.sourceforge.net/

Change name of binary from ctags.exe to etags.exe. Now it will generate proper tags for Ruby. Execute by: "etags.exe *rb".

Commands in Emacs:

M-. [TAG]
Find the first definition of TAG. The default tag is the identifier under the cursor.

M-*
Pop back to where you previously invoked "M-.".

C-u M-.
Find the next definition for the last tag.

Inga kommentarer:

Skicka en kommentar