Flex support

Hi,

I try to use IDEA 8 to create flex application and I've some issues :
- It's easy now to debug but it is possible in a future version to generate the html template and open it in a browser ?
- Better support with maven swc dependency (I use http://code.google.com/p/flex-mojos/) is it planned to build project file ?
- If I add swc dependency as libraries in my project the IDE don't see it so non autocompletion etc ....

Thanks

0
Avatar
Permanently deleted user

Hi,

David wrote:

Hi,

I try to use IDEA 8 to create flex application and I've some issues :
- It's easy now to debug but it is possible in a future version to generate the html template and open it in a browser ?

You probably mean something like
http://www.jetbrains.net/jira/browse/IDEADEV-24483

- Better support with maven swc dependency (I use http://code.google.com/p/flex-mojos/) is it planned to build project file ?

Please, file JIRA request

- If I add swc dependency as libraries in my project the IDE don't see it so non autocompletion etc ....

As work around place your library swc under lib directory :)


Thanks



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

0

Maxim,

I think it would be more logical and easier if one could define swc libraries in the same way as jar libraries can be defined for java projects.
If I understand correctly, right now I have to place third-party swc files (or my own swc files) inside the lib directory of the SDK, correct?
If so, that's like putting third-party JAR files inside a JDK...not very nice to say the least.

0
Avatar
Permanently deleted user

I agree with you, your syggestion is the solution to be developed :)
lib / libs directory inside the project will work now and I suggest it
as workaround

Taras Tielkes wrote:

Maxim,

I think it would be more logical and easier if one could define swc libraries in the same way as jar libraries can be defined for java projects.
If I understand correctly, right now I have to place third-party swc files (or my own swc files) inside the lib directory of the SDK, correct?
If so, that's like putting third-party JAR files inside a JDK...not very nice to say the least.



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

0
Avatar
Permanently deleted user

what lib folder do you mean? Does the autocomplete work then? Would be nice to loose the red text of the namespaces when using references to the swf files.

Hope you can help, want to try the mate framework for flex and autocompletion would make life a lot easier.

thanks Jettro

0
Avatar
Permanently deleted user

Hi,
lib folder under module content root, autocomplete will work.
Please, file JIRA issue with sample project if the problem persists

Jettro Coenradie wrote:

what lib folder do you mean? Does the autocomplete work then? Would be nice to loose the red text of the namespaces when using references to the swf files.

Hope you can help, want to try the mate framework for flex and autocompletion would make life a lot easier.

thanks Jettro



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

0
Avatar
Permanently deleted user

It does work in actionscript files, but I cannot get it to work in combination with namespaces in mxml files.

0
Avatar
Permanently deleted user

Do you use 'uri' for your library components import (like
mx="http://something") or just plain class import syntax
(local="com.acme.*")? later syntax should work

Jettro Coenradie wrote:

It does work in actionscript files, but I cannot get it to work in combination with namespaces in mxml files.


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

0
Avatar
Permanently deleted user

Yes, that did it. Now it works. Still I think it is a pretty cumbersome approach. Especially if the library uses a lot of different packages that you need objects from.

]]>

But I am glad it works, another nice thing after the debugger.

thanks for the help

0
Avatar
Permanently deleted user

Are there any plans to support the ability to define swcs like jars for Java in the IDEA 8 timeframe?

0
Avatar
Permanently deleted user

If you mean specifying swc libraries for module then the answer is yes.

jayj wrote:

Are there any plans to support the ability to define swcs like jars for Java in the IDEA 8 timeframe?


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

0

请先登录再写评论。