4 comments
Comment actions Permalink

Hi,

Please, ensure you have specified Flex facet for module and have valid
Flex SDK home in Flex facet settings (Project Settings for particular
module). Does it work after that?

Ralf Bokelberg wrote:

I'm using 7.0.3 eap.
Code completion for Flex MXML files doesn't seem to work.


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

0
Comment actions Permalink

Hi Maxim

I think so. These are my steps:
1. Create a new project and choose Flex.
2. Create a new plain file and name it like Main.mxml.
3. Start editing the file by typing-in <mx:Application

Expected:
After typing "<mx:Ap" i should be able to autoComplete to "<mx:Application"

Actual:
A message like "tag not recognized" appears


Would be nice:
1. If you create a new mxml component in FlexBuilder you can choose the super class, eg. Application, and the file comes prepopulated with the surrounding Application tag

2. CodeCompletion in FlexBuilder works a little bit different. You don't have to type <mx: Appl... all the time. Instead it is sufficient to type <App.. - iow. you dont have to type-in the mx namespace.


Cheers
Ralf.

Message was edited by:
Ralf Bokelberg

0
Comment actions Permalink

Actually the completion works after specifying
xmlns:mx="http://www.adobe.com/2006/mxml" in root tag.
There is more information in this tutorial
http://www.jetbrains.com/idea/docs/Creating_Flex_Applications_with_IntelliJ_IDEA.pdf
We are working to provide better experience.

Ralf Bokelberg wrote:

Hi Maxim

I think so. These are my steps:
1. Create a new project and choose Flex.
2. Create a new plain file and name it like Main.mxml.
3. Start editing the file <mx:Application

Expected:
After typing mx:Ap i should be able to autoComplete Application

Actual:
A message like "tag not recognized" appears


Would be nice:
1. If you create a new mxml component in FlexBuilder you can choose the super class, eg. Application, and the file comes prepopulated with the surrounding Application tag

2. CodeCompletion in FlexBuilder works a little bit different. You don't have to type <mx: Appl... all the time. Instead it is sufficient to type <App.. - iow. you dont have to type in the mx namespace.


If i was Jetbrains, i would remove the "we are able to do Flex" advertisement from the website. Currently it doesn't seem to be very usable. I guess, it is all there, but it is hard to use, imho. Documentation seems to be missing too. (Sorry if this sounds sissy like :))

Cheers
Ralf.



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

0
Comment actions Permalink

Thank you Maxim, very helpful.
Maybe you can link the pdf from the wiki or somewhere else.
Cheers
Ralf.

0

Please sign in to leave a comment.