Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an intelligent PHP Emacs tagging solution?

Tags:

php

emacs

tags

I want to navigate to a member declaration under the point. Creating a tag file using etags *.php and then navigating with find-tag is limited in that it doesn't seem to have any sense of the calling class. So you have to cycle if two classes have methods with the same name.

Semantic's semantic-ia-fast-jump function, another potential option, doesn't seem to work at all for PHP methods.

like image 212
Fletcher Moore Avatar asked May 26 '10 20:05

Fletcher Moore


2 Answers

I have used this a time or two.

http://ctags.sourceforge.net/

Try it out, see if it works for you.

like image 143
copperfinger Avatar answered Nov 20 '22 04:11

copperfinger


For reference: There's some php support for semantics wisent parser now, so you should be able to use semantic-ia-fast-jump now.

like image 1
phaer Avatar answered Nov 20 '22 05:11

phaer