Wednesday 14 April 2010

emacs and etags

create tags file:

find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | xargs etags -a -o tags

M-. go to symbol def
M-0 M-. next
M-* return
M-X tags-search
M-, next match

No comments:

Post a Comment