Skip to content

Instantly share code, notes, and snippets.

Created Apr 22, 2013
What would you like to do?
My Emacs .ctags config file for PHP 5.4 based projects. Save it in project directory. (It needs exuberant-ctags package). I'm using it with etags-select package
-f ./TAGS
--regex-PHP=/^abstract class ([^ ]*)/\1/c/
--regex-PHP=/^interface ([^ ]*)/\1/c/
--regex-PHP=/^trait ([^ ]*)/\1/c/
--regex-PHP=/(public |static |abstract |protected |private )+ function +([^ \(]*)/\2/f/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment