Hi all,

Unfortunately, I was told, that probably even if I did find the fix, it would 
probably not be accepted by Jetbrains.

The reason was that if IntelliJ had a FlexJS SDK type they would sort of have 
to claim FlexJS compatibility for IntelliJ and they probably don’t want to do 
that. Don’t ask me why. There doesn’t seem to be an option of “not officially 
supported” SDKs. 

I think we will need different compiler settings in order to compile a FlexJS 
application, therefore I don’t see any good in hacking the FlexSdkType2 class 
to somehow deal with FlexJS’s specialities (Especially as we need to parse a 
separate descriptor now).

The other alternative would be to create a separate plugin. But that would be 
an insane amount of work, just in order to make a commercial product more 
interesting for others. Not going to be doing that. And looking at the 
complexity of how IntelliJ internally works, I doubt that anything I would come 
up with would be similarly performant.

Now I’ve been debugging IntelliJ for full 3 days … I’ve even started dreaming 
about debugging async processors and lambda expressions, processors, indices, 
contexts, … long story short: I’m giving up for now :-(

Seems there are multiple understandings of “open-source” … just showing the 
source, but not accepting any changes isn’t how I understand it.


Chris




Am 26.01.17, 19:20 schrieb "Alex Harui" <aha...@adobe.com>:

    +1 The best solution yet!
    
    On 1/26/17, 4:42 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
    
    >Im comming closer to implementing FlexJS support for the open-source Flex
    >plugin of IntelliJ.
    >I decided not to hack the FlexSDK support but create a separate type of
    >SDK (FlexJS SDK) for which I will be able to provide separate templates
    >and configuration options without messing with the other stuff.
    >
    >Little teaser image:
    >https://postimg.org/image/5m5w62p59/
    >
    >Anyone able to provide me with a 16x16 icon for FlexJS is greatly welcome
    >... I just took the original and added a red „JS“ to it ... sort of looks
    >like an error indicator.
    >
    >Alex D. was a great help in providing code pointers for getting me
    >started … hopefully it won’t be too much work to finish this ;-)
    >
    >Chris
    
    

Reply via email to