So far I have this (Which is sufficient enough for me at the moment):
ctags -R --languages=php --langmap=PHP:+.tpl --tag-relative=yes --PHP-kinds=+cf
However, I still can't press "C-]"
when I want to goto the definition of an array or variable in another file.
My guess is that this is because of PHP preceeding variables with $ or because I need some flag in --PHP-kinds
?
ctags
supportsc
lasses,i
nterfaces, constantd
efinitions,f
unctions,v
ariables and…j
avascript functions by default. It has noa
rray "kind", if that's what you are after. What about dropping--tag-relative=yes
?--php-kinds
? I did that but it doesn't appear variables are there ..--php-kinds
at all.