My colleague Doug McCune sent out a link last week to a product called Typinator.
Typinator is a tool for Mac OS that auto replaces character strings that are typed anywhere in Mac OS. In the videos below you will see a few ways that Typinator can be used in a Flex development environment.
Class Templates: If you’re tired of formatting your classes to read a certain way, why not setup a template with Typinator?
In this example you’ll see “-pc” expanded to a full class template.
Infrequently Used Syntax: If you’re like me, there are a few syntactical parts of ActionScript that you use infrequently. I generally have to look these things up in past source code or LiveDocs. Typinator is a great way to create a shortcut for those items.
In this example you’ll see “-ra” expanded into the remote alias meta data tag.
In this example you’ll see “-emd” expanded to the event meta data syntax.
I’ve been using Typinator for a while now and it’s become a useful development tool for me, even actions as simple as correcting functino to function (a common misspelling for me).
[UPDATE]
I shared my post with Ergonis Software and their CEO and Frounder Christoph Reichenberger replied with a very helpfult tip. Typinator allows you to specify an alternative cursor position after it has replaced the phrase you type.
If you look up at my remote alias example, you’ll notice that I used the left arrow key to backup to the appropriate spot to type the classname. In the revised example below you’ll see that after typing “-ra” the cursor is automatically positioned where I’d like to start typing the name of the alias.
Thanks for the tip Christoph, much appreciated.
I just tried out Typenator. It does seem very useful. One thing I get super tired of is typing preformatted getter/setter sections. What I would like to find out is if you can do something like this:
typenator trigger = -gs{prop}
Where prop is a dynamic set of text. This would autocreate something like
private var _{prop}:Object
private var {prop}Changed:Boolean;
public function get {prop} ():Object
{ return _{prop}; }
…. you get the point.
I have only messed with the freebie version however if the full version allows this, then consider me a new customer.