Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
teotigraphix opened this issue Jul 8, 2015 · 5 comments
Open

Comments

@teotigraphix
Copy link

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
Copy link
Member

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
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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

@teotigraphix
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants