That's pretty cool :)
If someone more can reproduce it we can add it to the wiki, since we have
IntelliJ page just with a TODO
I'd test it when I can, currently don't have IJ installed on my mac.
Also, maybe this could be a starting point to try to make IJ going forward.
maybe we could ask IJ guys for some guidance on how to make it more complete

El vie., 17 jul. 2020 a las 14:10, Christofer Dutz (<
christofer.d...@c-ware.de>) escribió:

> 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" <christofer.d...@c-ware.de>:
>
>     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" <
> christofer.d...@c-ware.de>:
>
>         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
>
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to