Patching exuberant-ctags for better PHP5 support in vim
Thanks to the taglist vim plugin, vim users have access to a decent tag browser. Taglist is built on exuberant ctags so it support a large amount of languages. Unfortunately however, when the exuberant ctags people replaced their old PHP lexer with a brand new regexp-based parser the quality of parsing PHP code decreased dramatically. Ctags suddenly could not distinguish real class and function declarations from mere mentions of the words “class” and “function” in multi-line comments. This is because the ctags regular expression parses is inherently line oriented. In this article I have two patches that greatly improve PHP support in exuberant-ctags. I will also show you how you can apply these patches on a Debian-based system.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.