Moodle release 2.8rc1
[moodle.git] / tags.txt
blob5a56cf54631f29a5fa27799e2141b327133644fa
1 Generating a tags file
2 ======================
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:
7 Exuberant ctags (default on Linux, can be compiled on other platforms):
8 ----------------------------------------------------------------------
10 ctags -R --languages=php --exclude="CVS" --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/'
15 BSD ctags (Default on Mac OS X):
16 -------------------------------
18  (TODO)