How can I auto-insert frequently used code snippets in Flash Builder?
Flash Builder lets you auto-insert frequently used coding patterns by using code templates. You can use the pre-defined templates that are shipped with Flash Builder or you can create your own.
Code templates let you speed-up your coding efforts by using code templates. Flash Builder provides over 100 pre-defined templates for ActionScript, CSS, and MXML code.
To insert a code template, just type the name of the template in the code editor, and press Ctrl+Space/Cmd+Space. For example, to insert a 'for loop' in your code, just type fori and press Ctrl+Space/Cmd+Space.
To display all the available code templates in the context of your code, press Ctrl+Space twice.
To create and edit code templates, go to the Preferences dialog box, and select Flash Builder > Editors > Code Templates.
+