Auto-generate getter / setter of ActionScript 3 in TextMate
This is the help file of the post from makzan/blog
Result:
All private variables that started with "_" are in the list for generation.
It is detected by regular expression so you can change the script to match any private variables convention you like.
When I type "getset1", it prompt a list for me to choose which variable I want to generate the getter setter.

And this is what it generates:

If I type "getset", it will generate get/set accessor of all private variables.
Setup:
1. Open the bundle editor in TextMate via Bundles | Bundle Editor | Show Bundle Editor

2. In ActionScript 3 bundle (or your own bundle if you like), Create a new Command

3. Set the command with this setting:
Save: Nothing
Command(s): Either the two rb codes provided
Input: Entire Document
Output: Insert as Snippet
Activation: Tab Trigger | {Your own trigger string} (mine is "getset" and "getset1")
Scope Selector: source.actionscript.3
4. That's all. here is my two setting window screenshot

