Spket Eclipse plugin - multiple files
Re: Spket Eclipse plugin - multiple files
Maybe this will help you? - viewtopic.php?f=6&t=1866&start=75#p6818
Re: Spket Eclipse plugin - multiple files
I maybe just miss some magic functionality.. .
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!

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!

Who is online
Users browsing this forum: No registered users and 2 guests