Skip to content

Instantly share code, notes, and snippets.

@foopang
Forked from exu/.ctags
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foopang/ac777357bea623facdc9 to your computer and use it in GitHub Desktop.
Save foopang/ac777357bea623facdc9 to your computer and use it in GitHub Desktop.
-e
-f ./TAGS
--recurse
--languages=PHP
--exclude=.svn
--exclude=.git
--exclude="*/_*cache/*"
--exclude="*/_*logs{0,1}/*"
--exclude="*/_*data/*"
--totals=yes
--tag-relative=yes
--PHP-kinds=+cif-jcvd
--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