disappointed with progress of flex support so far ...

I recently got an email from JetBrains stating that anyone purchasing a copy of 7.0 now will get a free upgrade to 8.0 when it is released. As an IDEA user since version 2.0, I know that this means 8.0 is going to be released in the next couple of months. The main new feature that I (and everyone else where I work) is looking for in 8.0 is support for Flex/ActionScript. However, I must say that I am disappointed in the progress so far on this front.

Here are the features that I think absolutely have to be addressed for us to avoid moving to FlexBuilder/Eclipse:

  • A way to build libraries and applications in the IDEA. I see a new tab related to this in 8769 but building a flex module doesn't seem to do anything.

  • A way to debug a flex application running in a browser. This is required to debug an application that makes remote calls. In FlexBuilder, I can set up a url as the launch path for a flex application. This brings up IE with the application running in it and FlexBuilder connects to this application from the debugger.

  • Find usages seems to be behaving like a text search in many cases. For example, I have a property called "component" in a class. When I search for usages of it, I end up with a list that includes static strings that have the word component in it.

  • IDEA is unable to resolve classes in the flash runtime - anything in the flash.* packages. So, they all have the gray squiggly underlines.


Some nice to have features are:

  • Support for extracting a text string to a resource bundle much like the way it is supported for GWT.

  • Option to copy asdoc when overriding/implementing methods/properties.

  • Support for generating getters and setters for class fields like in java.

  • Support for generating constructors like in java.

  • Support for more refactorings like extract method, move method etc.


Edited by: jayj on Sep 9, 2008 10:17 AM

9 comments
Comment actions Permalink

I have very similar requests that prevents me from moving from FlexBuilder to IntelliJ for actionscript development. Without ability to setup swc "library" project that can be used by swf/html" application" project and more friendly debugging (directly html) it would be very difficult to use IntelliJ for flex development.

0
Comment actions Permalink


We are doing our best in order to get best Flex / ActionScript editing
experience, and you can help us to do it if you provide more complete
problem description in form of JIRA requests.

Some particular comments on your post,
Present in current EAP build:

  • Support for generating getters and setters for class fields like in

java (you might need to update code style settings for field / accessor
method prefixes),

  • Support for generating constructors like in java.

  • Support for more refactorings, checkout extract field / constant.


jayj wrote:

I recently got an email from JetBrains stating that anyone purchasing a copy of 7.0 now will get a free upgrade to 8.0 when it is released. Being an IDEA user since version 2.0, I know that this means 8.0 is going to be released in the next couple of months. The main new feature that I (and everyone else where I work) is looking for in 8.0 is support for Flex/ActionScript. However, I must say that I am disappointed in the progress so far on this front.

Here are the features that I think absolutely have to be addressed for us to avoid moving to FlexBuilder/Eclipse:

  • A way to build libraries and applications in the IDEA. I see a new tab related to this in 8769 but building a flex module doesn't seem to do anything.

  • A way to debug a flex application running in a browser. This is required to debug an application that makes remote calls. In FlexBuilder, I can set up a url as the launch path for a flex application. This brings up IE with the application running in it and FlexBuilder connects to this application from the debugger.

  • Find usages seems to be behaving like a text search in many cases. For example, I have a property called "component" in a class. When I search for usages of it, I end up with a list that includes static strings that have the word component in it.

  • IDEA is unable to resolve classes in the flash runtime - anything in the flash.* packages. So, they all have the gray squiggly underlines.


Some nice to have features are:

  • Support for extracting a text string to a resource bundle much like the way it is supported for GWT.

  • Option to copy asdoc when overriding/implementing methods/properties.

  • Support for generating getters and setters for class fields like in java.

  • Support for generating constructors like in java.

  • Support for more refactorings like extract method, move method etc.



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Great news! I was very happy to find an email about resolved issue. When this build is going to release ?

0
Comment actions Permalink

8792

Mikhail Shevchuk wrote:

Great news! I was very happy to find an email about resolved issue. When this build is going to release ?


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

In new EAP build you can specify 'swf / html / url to use for the
debugger' and specify Library in Flex compiler settings on module level.
Please, report feedback.

Roman Dolgov wrote:

I have very similar requests that prevents me from moving from FlexBuilder to IntelliJ for actionscript development. Without ability to setup swc "library" project that can be used by swf/html" application" project and more friendly debugging (directly html) it would be very difficult to use IntelliJ for flex development.


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Is the new EAP you refer to 8792 or the next one that comes out?

0
Comment actions Permalink

Next one

jayj wrote:

Is the new EAP you refer to 8792 or the next one that comes out?


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I just downloaded and tried 8810 and have a question about the run/debug. I am using flex-mojos, so I have my configuration setup to use a flex facet and try using the new url destination to run. The run option is simply not available, it is disabled. The debug does not work, seems to do nothing when the debug button is clicked. I have the configuration set to run my flex-mojos "install" phase before running.

The flex-mojos will run if I manually run them through the maven window. Any ideas?

Also it seems that IDEADEV-29711 was resolved, but there is comments there from the reporter that flex-mojo projects still do not correctly have references. I concur, I see this same behavior, imported flex-mojos projects do not have references to other projects.

It has come a long way though, looks great! I am using the Diana builds for my flex code writing and switching to flexbuilder to run/debug. The Idea support for coding is well worth any hassle to toggle between the 2 right now.

Thanks.
-Brandon

0
Comment actions Permalink

I used the new debugging support with a url all day yesterday while developing and it worked great. There are a couple of annoyances (like IDEA not fashing when a breakpoint is hit) for which I will open jiras.

0

Please sign in to leave a comment.