Using ctags for Drupal

June 19, 2009 by hejian

I am using GVim as the main editor when writing code, and using ctags for quick lookup functions. For Drupal it doesn’t work, because it use .module as extension for the module code.

I found a to solve this issue, just using the following command to index the directory:

ctags --langmap=php:.inc.module.engine.theme -R .

Happy hacking Drupal :)

Leave a Reply

You must be logged in to post a comment.

Wordpress template made by HeJian