Project
IntelliJ IDEA
Priority
Normal
Type
Feature
Fix versions
No Fix versions
State
Fixed
Assignee
Alexander Doroshko
Subsystem
Flex Support
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Wallaby Pouch
    3 years ago (10 Feb 2009 01:15)
  • Updated by   Evgeniy Schepotiev
    21 months ago (27 Apr 2010 16:32)
  • Jira: IDEA-21843
    (history, comments)
 
IDEA-21843 Flex / Javascript: Please provide live templates
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
Please provide a default set of live templates for both Javascript and Actionscript.

Things like Iteratiom, cast to type, create new instance, etc.

Maybe even JQuery sample queries for the Javascript support.

It would be great to have the same names for some constructs like "itr" as in the Java part, but this probably won't be possible I guess.
Comments (6)
 
History
 
Linked Issues (?)
 
Alexander Doroshko
  Alexander Doroshko
23 Dec 2009 16:38
2 years ago
Some live templates are added to JavaScript/ActionScript group:
iter (for each..in)
itin (for..in)
itar (iterate elements of array)
ritar (iterate elements of array in reverse order)

Will be available in 9.0.2 release
Related Changes
Resolved Date
2 years ago (23 Dec 2009 16:38)
Fixed In version
<lost change>
State
OpenFixed
Taras Tielkes
  Taras Tielkes
13 Jan 2010 19:51
2 years ago
Alexander, do the provided templates allow iteration of a typed Vector in flex actionscript?
Alexander Doroshko
  Alexander Doroshko
13 Jan 2010 20:19
2 years ago
Yes, all objects are iterable in Flex, not only Array and Vector. Automatic picking of Vector elements type is not implemented yet, but planned for 9.0.2 release.
Taras Tielkes
  Taras Tielkes
13 Jan 2010 20:37
2 years ago
Good to hear - when is 9.0.2 planned?
Alexander Doroshko
  Alexander Doroshko
13 Jan 2010 20:49
2 years ago
Do not know for sure. 9.0.1 will appear very soon, 9.0.2 - a couple of months later
Alexander Doroshko
  Alexander Doroshko
29 Jan 2010 16:28
2 years ago
Automatic picking of Vector elements type is done, will be available in next 9.0.2 EAP