Skip to content

Instantly share code, notes, and snippets.

@chrisyue
Last active March 29, 2018 08:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisyue/6374262 to your computer and use it in GitHub Desktop.
Save chrisyue/6374262 to your computer and use it in GitHub Desktop.
ctags-config-for-symfony
-R
--languages=php
--php-kinds=cif
--regex-php=/^[ \t]*trait[ \t]+([a-z0_9_]+)/\1/t,traits/i
--exclude=app/*
--exclude=bin/*
--exclude=web/*
--exclude=tests/*
--exclude=var/*
--exclude=*/Test/*
--exclude=*/Tests/*
--exclude=*test*
--exclude=vendor/*/vendor
--fields=+aimS
@chrisyue
Copy link
Author

create and open a .ctags file in your symfony2 project root dir and copy and paste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment