On 12/19/2011 03:27 PM, Olivier Drevet wrote:
> Hi !
> Using exuberant ctags, for PHP files, I can see classes, functions and
> includes in the TAGS Imenu, but not the variables (obviously I cannot
> jump to a variable definition).
> For testing purpose, I issued the command etags -R in a terminal, and
> the generated TAGS file have the variable "definition" (which here means
> I guess the earliest assigned value), so it's probably not a exuberant
> ctags limitation.
> Is it a know problem or am I doing something wrong ?
If you open your php buffer, and do:
M-x semantic-ectag-parse-buffer RET
you can then look to see if the output from Semantic matches whatever
came out in the *Semantic ECTags* buffer.
I'm assuming if you are using ctags, you added the support yourself with
semantic-ectag-add-language-support since it isn't in the code.
If not, you are probably using the semantic wisent php parser from the
contrib directory, which I know very little about. In that case,
something in contrib/wisent-php.wy