[TxMt] TmCodeBrowser for Actionscript?

Simon Gregory simon at helvector.org
Fri Nov 4 10:14:45 UTC 2005


> But looking at actionscript.c, I think you can do the same by  
> simply adding these lines to ~/.ctags.tmcodebrowser (assuming you  
> are using that latest version from this afternoon):
>
> 	--langdef=ActionScript
> 	--langmap=ActionScript:.as
> 	--regex-ActionScript=/^[ \t]*[(private|public|static)( \t)] 
> *function[ \t]+([A-Za-z0-9_]+)[ \t]*\\(/\1/f,function,functions/
> 	--regex-ActionScript=/^[ \t]*[(public)( \t)]*function[ \t]+(set| 
> get)[ \t]+([A-Za-z0-9_]+)[ \t]*\\(/\2/p,property,properties/
> 	--regex-ActionScript=/.*\.prototype\.([A-Za-z0-9 ]+)=([ \t]?) 
> function([ \t]?)*\\(/\1/f,function,functions/
>
> Please check if that works, so I can add the lines to the default  
> definitions.

With the latest version of the plug-in and other languages working  
I've copied and pasted the above lines into the ctags.tmcodebrowser  
file but it doesn't work for me :(

Have any other ActionScripters had any luck?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2428 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20051104/e8361910/attachment.p7s>


More information about the textmate mailing list