Live Templates in JavaScript/ActionScript/Flex
Thursday, January 28th, 2010Writing JavaScript/ActionScript/Flex code becomes easier with upcoming IntelliJ IDEA 9.0.2. New set of live templates (see Settings dialog (Ctrl+Alt+S), Live Templates, JavaScript/ActionScript group), allows to avoid tedious typing when you need to loop over an Array, Vector or anything else. Luckily, some abbreviations are the same as with Java: iter, itar, ritar. Here’s the list of currently available live templates:
| Abbreviation | Description |
|---|---|
| iter | Iterate (for each..in) |
| itin | Iterate (for..in) |
| itar | Iterate elements of array |
| ritar | Iterate elements of array in reverse order |



