com/ide [en]
Differences between version #12693 and #14324
21a22,46
>
> ====== exuberant ctags ======
> Many editors (Vim, Emacs, JEdit, ...) support tag files which allow them to implement "goto declaration" features easily.
>
> Put into your ~.ctags file:
>
> <code>
> --langdef=haxe
> --langmap=haxe:.hx
> --regex-haxe=/^package[ \t]+([A-Za-z0-9_.]+)/\1/p,package/
> --regex-haxe=/^[ \t]*[(@:macro|private|public|static|override|inline|dynamic)( \t)]*function[ \t]+([A-Za-z0-9_]+)/\1/f,function/
> --regex-haxe=/^[ \t]*([private|public|static|protected|inline][ \t]*)+var[ \t]+([A-Za-z0-9_]+)/\2/v,variable/
> --regex-haxe=/^[ \t]*package[ \t]*([A-Za-z0-9_]+)/\1/p,package/
> --regex-haxe=/^[ \t]*(extern[ \t]+)?class[ \t]+([A-Za-z0-9_]+)[ \t]*[^\{]*/\2/c,class/
> --regex-haxe=/^[ \t]*(extern[ \t]+)?interface[ \t]+([A-Za-z0-9_]+)/\2/i,interface/
> --regex-haxe=/^[ \t]*typedef[ \t]+([A-Za-z0-9_]+)/\1/t,typedef/
> --regex-haxe=/^[ \t]*enum[ \t]+([A-Za-z0-9_]+)/\1/t,typedef/
> --regex-haxe=/^[ \t]*+([A-Za-z0-9_]+)(;|\([^)]*:[^)]*\))/\1/t,enum_field/
> </code>
>
> Then run
> <code shell>
> ctags -R .
> </code>
> In the directories you want to create a tag file index for. Vim plugins run it automatically for you.
\ No newline at end of file
| Ver | Date | User | Action |
|---|---|---|---|
| #19358 | 2013-05-12 02:55:03 | MarcWeber | View | Diff |
| #16021 | 2013-02-21 14:44:31 | heero | View | Diff |
| #14327 | 2012-06-25 14:11:55 | fedor | View | Diff |
| #14324 | 2012-06-25 11:03:38 | MarcWeber | View | Diff |
| #14003 | 2012-05-14 11:07:50 | ncannasse | Restored to version #12693 |
| #13985 | 2012-05-14 09:03:18 | sohbetful | View | Diff |
| #12693 | 2012-04-09 22:51:10 | JLM | View | Diff |
| #12692 | 2012-04-09 22:49:43 | JLM | View | Diff |
| #12540 | 2012-02-22 16:32:50 | paletz | Restored to version #12408 |
| #12522 | 2012-02-22 14:31:44 | Murat | View | Diff |
| #12521 | 2012-02-22 14:31:24 | Murat | Restored to version #11885 |
| #12408 | 2012-02-19 13:40:35 | goodwinnk | View | Diff |
| #12141 | 2012-01-06 11:53:22 | Philippe | View | Diff |
| #12140 | 2012-01-06 11:52:39 | Philippe | View | Diff |
| #12139 | 2012-01-06 11:51:50 | Philippe | View | Diff |
| #12138 | 2012-01-06 11:50:31 | Philippe | View | Diff |
| #11919 | 2011-11-30 12:08:36 | JLM | Restored to version #11763 |
| #11885 | 2011-11-30 11:40:42 | Anonymous | View | Diff |
| #11763 | 2011-11-17 22:57:42 | Philippe | View | Diff |
| #11762 | 2011-11-17 22:56:30 | Philippe | View | Diff |
Previous | Next