> Fred; The point is, you would have to rename every package level class to > not get an ambiguous error in the IDE.
Yes, but I guess it should be done for Object as there are no way to get it in IJ as it has a hardcoded definition, the JSObject option seems good to me, what about you ? Frédéric THOMAS ---------------------------------------- > Date: Mon, 15 Jun 2015 14:16:24 -0400 > Subject: [FlaconJX] JS.swc design problems (was [FlexJS] IntelliJ Integration) > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > >>!!!!! Still having things at the root package level is going to cause >>problems, I think we need a solution to this, the CustomEvent and Event >>ambiguous warnings shows its probably going to mess things up. > > Can you give me an example? If you are using JS.SWC, what other swc is > going to define CustomEvent and Event? Again, the set of SWCs has to be > different for different targets. > > Well it happens if you want to use FlexJS and include DOM calls. Even if > you don't want to use SWF, CustomEvent is a DOM event class and at the > package level, so in IJ, it can't resolve CustomEvent in the class code > without it being qualified org.apache.flex.events.CustomEvent. > > Fred; The point is, you would have to rename every package level class to > not get an ambiguous error in the IDE. > > Does that make sense? > > Mike