IntelliJ IDEA Flex Support

March 18th, 2009 by Egor Malyshev

We’ve created a short live demo, showing some of IntelliJ IDEA Flex support features during the process of creating a simple Hello World with Flex from scratch. The demo explains how to create and configure a project, author the code and run your (probably first) Flex application. You can watch the demo online or download a zip archive. If you need more information about IntelliJ IDEA Flex support, see this feature page.

Tags:

9 Responses to “IntelliJ IDEA Flex Support”

  1. Christopher Mason Says:

    Could you please describe the status of maven flex support? I see IDEADEV-32647. After importing a maven pom in build 9757, no swc or resource bundle dependencies are recognized. When I try to add a flex facet manually, it behaves oddly: forgets the path to the flex SDK, forgets the flex library, etc. Hit okay and try to compile and it seems to be giving jars to the flex compiler:??

    /Users/cmason/.m2/repository/org/testng/testng/5.1/testng-5.1-jdk15.jar

    which causes errors during flex compile.

    I’ve tried three different flex maven systems (flex-mojos, israfil, and servebox). I’ve had the most success with codebox. Which do you recommend/support?

    Any hints you could give would be most appreciated.

    -c

  2. Anton.Makeev Says:

    At the moment we only support flex-mojos plugin, all the swc dependencies should be correctly recognized and configured.
    If you have problems with it, please open a JIRA issue
    (http://www.jetbrains.net/jira).

    Thanks,
    Anton Makeev

  3. Chris Shepperd Says:

    Can you describe the status/roadmap for Flex refactoring? This is an area of great frustration in the Flex Builder world, and one where IntelliJ usually shines but not so for Flex yet. Thanks.

  4. Maxim.Mossienko Says:

    Rename, introduce variable / constant / field, safe delete are in IDEA 8.1 Several refactorings (extract/inline method, change signature, move file / constant) are planned for IDEA 9

  5. Mary Says:

    My flex client in MAIA (IDEA 9 EAP) fires up IE even though html file type is associated with firefox in my environment. How do I set MAIA to fire up firefox instead when the flex client starts?

  6. AlexanderD Says:

    Mary,
    unfortunately it is the behavior of Flex debugger (fdb tool).
    Please see comments of the issue for details:
    http://www.jetbrains.net/jira/browse/IDEADEV-34701

  7. Mary Says:

    Alexander,
    Thanks for the info on fdb using IE, and for keeping the ticket open.

  8. mspwong Says:

    I am trying to use IDEA’s flex compiler for the first time and am having some trouble with it. My project is setup with 2 modules: 1)a flex module and 2)a java module with spring and web facets. I am building my java module with my ant script, but want to use IDEA’s builder for the flex module. The flex compiler settings has a place for the “Main class”. It’s a webapp project, and a flex module to boot — it does not have a class with a main() method. Without the Main class set, running the flex module results in a popup prompting me to choose a Main class. Any suggestion/insight out there?

    I am using the latest Maia build (90.116). Is the video demo’ing working with flex in Maia out yet?

    Thanks,
    -Mary

  9. Alexander Doroshko Says:

    Mary, I’ve answered you in the forum: http://www.jetbrains.net/devnet/message/5248685
    As for video demos - they are not up-to-date because some changes in UI were made since then. But general idea was not changed so you may find Flex demos useful. See also BlazeDS demo: http://www.jetbrains.com/idea/training/demos/blaze_ds.html

Leave a Reply