SKITSANOS FOR RIA

Skitsanos

Thursday, January 28, 2010

Live Templates in JavaScript/ActionScript/Fle

Source: JetBarins Blog

Writing 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

To use a live template, just type its abbreviation anywhere in your code and press Tab.

Ctrl+J shortcut shows you all live templates available for current context.

1 comments:

Missiki said...

That does mean that as a web programmer and theme developer I will have to do some less typing which is welcome. But doesnt it give me some load that I will have to remember some acronyms? Hope it would be easier and quite unlike Assembly Codes.

Thanks for pointing out that some words have the same meaning and implementations. That was really the best part.

Tips and Tricks

Webware development dedicated blog by Skitsanos R&D Labs. ASP.NET, XML, RIA, Adobe Flex, ActionScript 3, AIR, AJAX, Web 2.0, Backbase, CGI development with RealBasic and other web development issues.
News
Downloads