1745eab0 |
1 | Generating a tags file |
2 | ====================== |
3 | |
e5e50970 |
4 | If you need a tags file so that you can jump around Moodle code |
1745eab0 |
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 --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/' |
14 | |
15 | BSD ctags (Default on Mac OS X): |
16 | ------------------------------- |
17 | |
18 | (TODO) |
19 | |
20 | |
21 | Downloading the tags file |
22 | ========================= |
23 | |
24 | If for some reason you can't generate one, you can download a recent one from here: |
25 | |
26 | http://download.moodle.org/tags (for head) |
27 | http://download.moodle.org/stable19/tags (Moodle 1.9.x) |
28 | http://download.moodle.org/stable18/tags (Moodle 1.8.x) |