MDL-48855 dev: Fix ctags command to handle extra whitespace
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
3db52fd27f
commit
788a4e112d
@@ -7,10 +7,10 @@ easily in your editor (eg vim or emacs), you can generate one:
|
||||
Exuberant ctags (default on Linux, can be compiled on other platforms):
|
||||
----------------------------------------------------------------------
|
||||
|
||||
ctags -R --languages=php --exclude="CVS" --php-kinds=f \
|
||||
--regex-PHP='/abstract class ([^ ]*)/\1/c/' \
|
||||
--regex-PHP='/interface ([^ ]*)/\1/c/' \
|
||||
--regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'
|
||||
ctags -R --languages=php --php-kinds=f \
|
||||
--regex-PHP='/abstract +class +([^ ]*)/\1/c/' \
|
||||
--regex-PHP='/interface +([^ ]*)/\1/c/' \
|
||||
--regex-PHP='/(public |static |abstract |protected |private )+ *function +([^ (]*)/\2/f/'
|
||||
|
||||
BSD ctags (Default on Mac OS X):
|
||||
-------------------------------
|
||||
|
||||
Reference in New Issue
Block a user