Flex Support on Mac OS with IntelliJ 8.1?

Hi all,

I'm trying to use IntelliJ with Flex 3, but I cannot get my Flex facet to work. IntelliJ wants the path to the flex SDK, which I specified to be: /Users/erikp/Downloads/flex_sdk_3.0.2.2113, and a flex sdk library name. No idea what that is, but the dropdown shows 'grails', 'grails-1.0.4' and 'grails-1.1' . I cannot imagine I have to pick anything from that, so I typed 'flex 3 library'. When pressing 'apply', IntelliJ will scan the directories, and end up with the message: 'Library <libraryname> containing Flex SDK does not exist', with a button: 'create library'. Pressing it doesn't work: it gives me the same message again. Pressing it twice, however, does remove the message, but doesn't create global library, and pressing 'apply' again results in the previous message: 'Library <name> does not exists'. Creating the library (with the 'create library button' doesn't seem to have any effect.

On a side note: doing this procedure for some time, and clicking around, caused my memory usage to increase from 300 mb to 750 mb.

My question is: how can I get the Flex SDK to work nicely on my Mac? I'd like to have some code completion, and remove the errors produced by IntelliJ in my mxml files.

Erik

3 comments
Comment actions Permalink

Hi Eric!
You can either use Flex module instead of Flex facet,
or update your IDEA to the latest EAP
(http://www.jetbrains.net/confluence/display/IDEADEV/Diana+EAP). Flex
facet configuration is more simple there, you'll only need to choose
Flex SDK from a combobox (only at first time you'll need to configure
Flex SDK at Project Structure -> Platform Settings -> JDKs).

Erik Pragt wrote:

Hi all,

I'm trying to use IntelliJ with Flex 3, but I cannot get my Flex facet to work. IntelliJ wants the path to the flex SDK, which I specified to be: /Users/erikp/Downloads/flex_sdk_3.0.2.2113, and a flex sdk library name. No idea what that is, but the dropdown shows 'grails', 'grails-1.0.4' and 'grails
-1.1' . I cannot imagine I have to pick anything from that, so I typed 'flex 3 library'. When pressing 'apply', IntelliJ will scan the directories, and end up with the message: 'Library <libraryname> containing Flex SDK does not exist', with a button: 'create library'. Pressing it doesn't work: it g
ives me the same message again. Pressing it twice, however, does remove the message, but doesn't create global library, and pressing 'apply' again results in the previous message: 'Library <name> does not exists'. Creating the library (with the 'create library button' doesn't seem to have any effect
.

On a side note: doing this procedure for some time, and clicking around, caused my memory usage to increase from 300 mb to 750 mb.

My question is: how can I get the Flex SDK to work nicely on my Mac? I'd like to have some code completion, and remove the errors produced by IntelliJ in my mxml files.

Erik

---
Original message URL: http://www.jetbrains.net/devnet/message/5234673#5234673

0
Comment actions Permalink

Alexander Doroshko wrote:

Hi Eric!

Very sorry for incorrect name. I meant "Hi Erik!" :)

0
Comment actions Permalink

Alexander, thanks for the help! And thanks for the name correction: you're the first one ever (in 29 years) to misspell it and to correct yourself!!!! Cool !! ;)

0

Please sign in to leave a comment.