Sure, Andrew.
This possibility was originally discovered and shared by Chris Dutz, so it
did not originate with me.
And like I said, it is not a general solution to getting IntelliJ to 'work'
with Royale. I do hope to find time to look into that at some point, if
no-one else does, but it will involve learning something 'new' because I am
not familiar with Intellij plugin development.



On Sat, Dec 11, 2021 at 2:43 AM Andrew Wetmore <[email protected]> wrote:

> @Greg Dove <[email protected]> can I adapt what you wrote here for the
> page on IntelliJ in the help docs?
>
> On Fri, Dec 10, 2021 at 1:22 AM Greg Dove <[email protected]> wrote:
>
>>
>> Intellij does not officially support Royale at this point.
>> Hopefully someone will get a chance to address that in time.
>>
>> But I do use it. You can get code completion and intellisense etc if you
>> build with maven, but only if you include the FlexMojos dependency in your
>> pom.xml. This is the way I use it (with the existing intellij Flash/Flex
>> plugin).
>>
>> <plugin>
>> <!-- including this is only to get Intellij intellisense to work (ignore
>> the errors) -->
>> <groupId>net.flexmojos.oss</groupId>
>> <artifactId>flexmojos-maven-plugin</artifactId>
>> <version>7.1.1</version>
>> </plugin>
>>
>> The above alone was working for me with versions 2021.2 and earlier.
>> It may not play nice with the very latest build of Intellij, I assume the
>> embedded maven version for the IDE was updated to a version that, by
>> default, does not allow http downloads and some of the dependencies for
>> that plugin are specified as http. If you pursue this and wish to get it
>> working, check with me directly and I can share a way to overcome that.
>>
>>
>>
>>
>> On Fri, Dec 10, 2021 at 4:36 AM Harbs <[email protected]> wrote:
>>
>>> I know Greg is using IntelliJ. Greg do you have time to fill out that
>>> page?
>>>
>>> > On Dec 9, 2021, at 4:28 PM, Vincent Jugé <[email protected]> wrote:
>>> >
>>> > Hello,
>>> >
>>> > As I have a some spare time, I would like to try Royale using Intellij
>>> IDE but the "Intellij set up" wiki page (
>>> https://github.com/apache/royale-asjs/wiki/IntelliJ-IDEA) is empty.
>>> >
>>> > Does someone know if there is an existing tutorial on this subject ?
>>> >
>>> > Thank you.
>>> >
>>> > Vincent.
>>> >
>>>
>>>
>
> --
> Andrew Wetmore
>
> Editor, Moose House Publications <https://moosehousepress.com/>
> Editor-Writer, The Apache Software Foundation <https://apache.org/>
>
>
>
>
>

Reply via email to