Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 11-25-2008, 12:20 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 89,254

Rep: Reputation: 87
LXer: Patching exuberant-ctags for better PHP5 support in vim

Published at LXer:

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring vim to use ctags manish.ym Linux - Desktop 3 01-03-2010 04:31 AM
LXer: Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.0 LXer Syndicated Linux News 0 10-08-2007 06:00 PM
Ctags setup in vim jrdioko Programming 7 12-20-2005 05:14 PM
Handling Conflicting tags using ctags in vi / vim dileepkk Linux - General 0 12-29-2004 08:05 AM

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration