feathersui / feathersui-starling-sdk

SDK for building Feathers UI (AS3/Starling) applications with MXML
https://feathersui.com/learn/as3-starling/sdk/
Apache License 2.0
42 stars 13 forks source link

IntelliJ - Feathers source paths not added to Sourcepath for SDK #7

Open teotigraphix opened 9 years ago

teotigraphix commented 9 years ago

If you look at Project Structure -> FeathersSDK -> Sourcepath, most sources are listed including starling but feathers and feathers-mxml are not there.

Would be nice to have those automatically added since middle mouse button is majic in IJ for looking at definitions.

joshtynjala commented 9 years ago

I think it's because I use "source" instead of "src" for the directory name.

I could possibly change the directory name in the mxml branch of Feathers, but I wonder if that will cause merge issues in the future.

joshtynjala commented 9 years ago

Since the Flex plugin for IntelliJ IDEA is open source, it may be possible to contribute a fix for this issue.

I only took a quick look, but it appears that createSourceRoot() method of the FlexModuleBuilder class may be where IDEA tries to find the SDKs source roots. This method searches for a path with "src". If this directory doesn't exist, it may be enough to search for "source" too.

teotigraphix commented 9 years ago

Kewl, yeah man my schedule is tight until January basically(Using Feathers SDK for Caustic apps).

I have created/helped create a Plugin in IDEA before with Fred(Randori as/js using FalconJX), so I know my way around IJ code but it's the time factor right now and to do a pull request you have to have the whole shabang setup and working for Jetbrains to accept it.

joshtynjala commented 9 years ago

I totally understand. I just wanted to record the results of a few minutes of investigation, since it might help someone get started.

teotigraphix commented 9 years ago

Yeah I was just sayin. :) I would love this coming year to help get Feathers SDK a first class citizen in IJ and see if we could tweak design view and get it working, don't know how that would go but I bet we could do it. :) Once I get off the ground with these apps I will have a lot more lab time to extend what I have already done. Besides contributing to Feathers once my company is rolling again will only be an investment for my future.