Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 615 Bytes
Generating a tags file
If you need a tags file so that you can jump around Moodle code
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 --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):