Using Exuberant Ctags for Drupal
Sun, 2007/12/02 - 20:46 — balu
I use vim as main editor when writing code, and to help quick lookup for functions in other files I generally use exuberant-ctags (ctags for short). For Drupal by default it doesn't work, because it uses .module as extension for the files, so index the directory using the following command:
ctags --langmap=php:.module.inc -R includes/* modules/*
Now using g] in command mode will help us find the functions/constants we need.
Comments
Thu, 2008/07/24 - 17:22 — akahn (not verified)
Don’t forget /sites/all/* if
Don’t forget /sites/all/* if you also want to browse code in modules and template.php!