[TxMt] Reformatting ActionScript files

Allan Odgaard throw-away-1 at macromates.com
Tue Aug 1 14:20:45 UTC 2006


On 1/8/2006, at 15:39, Ben Langton wrote:

> Just a quick question - is there any way I can format an  
> ActionScript (.as) file in much the same way as the "Auto Format"  
> command in the default Adobe Flash IDE? When I try using 'Text >  
> Reformat Paragraph', it simply runs all the lines together.

That command is for prose. Try Text → Indent Line / Selection.  
Though it doesn’t pretty print, as TM does not embed an ActionScript  
parser.






More information about the textmate mailing list