Skip to content

Instantly share code, notes, and snippets.

@jedgell
Created August 26, 2014 20:03
Show Gist options
  • Save jedgell/d1eb8e10489a0e756529 to your computer and use it in GitHub Desktop.
Save jedgell/d1eb8e10489a0e756529 to your computer and use it in GitHub Desktop.
ctags option file for Drupal
-R
-f .tags
--langmap=php:,php:.inc.install.module.php
--exclude=.svn
--exclude=.git
--exclude=nbproject
--exclude=tests
--exclude=README
--exclude=README.*
--exclude=INSTALL
--exclude=INSTALL.*
--exclude=LICENSE
--exclude=LICENSE.*
--exclude=CHANGELOG
--exclude=CHANGELOG.*
--exclude=COPYRIGHT
--exclude=COPYRIGHT.*
--exclude=MAINTAINERS
--exclude=MAINTAINERS.*
--exclude=UPGRADE
--exclude=UPGRADE.*
--exclude=*.txt
--exclude=web.config
--exclude=*.png
--exclude=*.gif
--exclude=*.jpg
--exclude=*.js
--exclude=*.css
--exclude=*.rb
--exclude=*.info
--exclude=*.less
--exclude=*.sass
--exclude=*.scss
--exclude=Makefile
--exclude=make
--tag-relative=yes
--PHP-kinds=+cf-v
--fields=+aimnS
--regex-PHP=/abstract\s+class\s+([^ ]+)/\1/c/
--regex-PHP=/interface\s+([^ ]+)/\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