[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/ -> tags.txt (source)

   1  Generating a tags file
   2  ======================
   3  
   4  If you need a tags file so that you can jump around Moodle code
   5  easily in your editor (eg vim or emacs), you can generate one:
   6  
   7  Exuberant ctags (default on Linux, can be compiled on other platforms):
   8  ----------------------------------------------------------------------
   9  
  10  ctags -R --languages=php --php-kinds=f \
  11  --regex-PHP='/abstract +class +([^ ]*)/\1/c/' \
  12  --regex-PHP='/interface +([^ ]*)/\1/c/' \
  13  --regex-PHP='/(public |static |abstract |protected |private )+ *function +([^ (]*)/\2/f/'
  14  
  15  BSD ctags (Default on Mac OS X):
  16  -------------------------------
  17  
  18   (TODO)


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1