Hi all,
So I narrowed down the thing even more ... the following is enough for me to
really be able to use IntelliJ to edit Royale applications:
<plugin>
<groupId>net.flexmojos.oss</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>7.1.1</version>
</plugin>
Of course I can't have IntelliJ automatically compile and debug stuff, but for
me having a fully-fledged Royale editor is great.
I know I could use VSCode, but if I work on my backend in IntelliJ, using a
second IDE for the frontend is really annoying.
Chris
Am 16.07.20, 18:40 schrieb "Christofer Dutz" <[email protected]>:
So would be interesting if you could confirm this ... just try adding this
to your maven pom.xml
<plugin>
<groupId>net.flexmojos.oss</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>7.1.1</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
It kicks in the code-generator, but doesn't really generate anything.
It should trick IntelliJ in thinking it's a Flexmojos project and for me
now I can really use IntellJ for Royale stuff.
Chris
Am 16.07.20, 17:18 schrieb "Christofer Dutz" <[email protected]>:
Hi all,
I just stumbled over something else I found quite interesting.
Part of the stuff I’m currently playing around is that I have my
ActionScript model auto-generated from my Java model.
For that I added the flexmojos code-generation goal execution to my
royale pom.
Interesting side-effect is that instantly IntelliJ added the little “F”
to the module and most of the red error highlighting disappeared and content
assist partially started working.
This might be something worth investigating .. I think IntelliJ only
doesn’t know about the new namespaces and where to look for them.
Chris