qooxdoo autocompletion does not work in Eclipse plugin

Bug Reports and Fixes
Post Reply
siarhei_barysiuk
Posts: 5
Joined: Mon Nov 03, 2008 12:44 pm

qooxdoo autocompletion does not work in Eclipse plugin

Post by siarhei_barysiuk » Mon Nov 03, 2008 12:57 pm

Hello,

At first I would like to say thank your for great work, qooxdoo autocompletion look very good!

I have a problem with qooxdoo support if I install Spket as Eclipse
plugin. I just copied plugin into my eclipse folder and now I have Spket
perspective in Eclipse. After that I went through instruction in qooxdoo
tutorial on your site and added qooxdoo support.

But when I try to use autocompletion in Eclipse I have only one suggestion:
"No Default Proposals".

I tried it on both platforms: Win XP and Mac OS 10.5.5.

Standalone application works great on Win XP.

Any ideas?


Siarhei Barysiuk

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Mon Nov 03, 2008 3:29 pm

Do you have other javascript editor plugins installed? make sure you are editing the file using Spket JavaScript Editor by select the file and using context menu item "Open With..." -> "Spket JavaScript Editor"

siarhei_barysiuk
Posts: 5
Joined: Mon Nov 03, 2008 12:44 pm

Post by siarhei_barysiuk » Tue Nov 04, 2008 4:31 pm

Thanks, it works. I used internal javascript editor. With "Open With..." -> "Spket JavaScript Editor" everything works good.

siarhei_barysiuk
Posts: 5
Joined: Mon Nov 03, 2008 12:44 pm

Post by siarhei_barysiuk » Wed Nov 05, 2008 12:18 pm

I have one more problem with autocompletion for qooxdoo in Eclipse plugin.
It works differently on different platforms.

It seems that on Mac OS X (10.5.5 Leopard, Java 1.5.0_16, Eclipse 3.4.0) autocompletion doesn't show all methods from base classes in inheritance chain.

For example for button qx.ui.form.Button chain looks like:

-qx.core.Object
--qx.ui.core.LayoutItem
---qx.ui.coreWidget
----qx.ui.basic.Atom
-----qx.ui.form.Button

On Mac it shows only methods from Button and Atom. On Win XP it works correct.

Here are screenshots from mac and win.

Mac OS :

img87(dot)imageshack(dot)us/my.php?image=macosqxautocompletioneh0.png

Win XP:


img230(dot)imageshack(dot)us/my.php?image=winxpqxautocompletioncj6.png

As you can see on Win XP a list bigger than for Mac OS for the same class. I use the same version of qooxdoo sdk on both platforms.

Let me know if you need any further information to evaluate this problem.

Thanks for your work,

Siarhei Barysiuk

P.S. Sorry, but It's not allowed for me to include links and images yet.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Wed Nov 05, 2008 5:58 pm

Is there any error in file workspace/.metadata/.log?

siarhei_barysiuk
Posts: 5
Joined: Mon Nov 03, 2008 12:44 pm

Post by siarhei_barysiuk » Fri Nov 07, 2008 1:53 pm

No, there are no errors related with Spket in .log file.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Fri Nov 07, 2008 6:07 pm

Hi, it is a bug because Unix type OS using '/' as file separator, I have create a quick fix, download file http://www.agpad.com/downloads/com.spket.js_1.6.16.jar and replace the old one in your computer will fix this issue.

siarhei_barysiuk
Posts: 5
Joined: Mon Nov 03, 2008 12:44 pm

Post by siarhei_barysiuk » Sat Nov 08, 2008 7:11 pm

Eric, thanks, it works.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests