Skip to content

Instantly share code, notes, and snippets.

@jdubwelch
Created November 17, 2014 19:55
Show Gist options
  • Select an option

  • Save jdubwelch/8e57763a918c96ed8371 to your computer and use it in GitHub Desktop.

Select an option

Save jdubwelch/8e57763a918c96ed8371 to your computer and use it in GitHub Desktop.
Ctags command for php project
ctags -R -f .tags --regex-php='/^[ \t]*trait[ \t]+([a-z0_9_]+)/\1/t,traits/i' --regex-php='/abstract class ([^ ]*)/\1/c/' --regex-php='/interface ([^ ]*)/\1/c/' --regex-php='/(public |static |abstract |protected |private )+ function +([^ \(]*)/\2/f/' --exclude=.git --exclude=.svn --exclude=node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment