Spket Eclipse plugin - multiple files

Get help with Spket IDE.
eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Re: Spket Eclipse plugin - multiple files

Post by eric_suen » Wed Oct 23, 2013 1:03 pm

Maybe this will help you? - viewtopic.php?f=6&t=1866&start=75#p6818

GustavR
Posts: 4
Joined: Tue Oct 22, 2013 3:36 pm

Re: Spket Eclipse plugin - multiple files

Post by GustavR » Wed Oct 23, 2013 1:33 pm

I maybe just miss some magic functionality.. . :cry:
But Spket wont load my custom classes into its auto complete. When I type "MyProduct." and hit CTRL+SPACE no auto complete is offered (except for the file you are currenty in).
Also if I type "this.": only suggestions for the same file not for the parent class (only if the parent class is ExtJs, not if parent class is custom).

But I now automated the creation of the jsb2 file. Or at least nearly automated it. I work with Eclipse in Windows. I downloaded the php binary and made Eclipse now its there. Then created a php script which builds a jsb2 file from the source it is run from. So now i click on the folder "src" in my Eclipse and run the php script (I created a Run Configuration in Eclipse). I do this for my two folders that have custom ExtJS classes in it and now the auto completion works as expected.
I'm still wondering why I have to do this or what I am doing wrong.

EDIT: I now managed to add this php script as a builder to the project. So know the jsb2 file is rewritten whenever the source changes. Its fully automatic now, just as I want it! :)

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest