ExtJS 4.1 Code Completion Not Working?

Feature requests
Post Reply
bobbyw
Posts: 5
Joined: Wed May 02, 2012 5:53 pm

ExtJS 4.1 Code Completion Not Working?

Post by bobbyw » Wed May 02, 2012 6:03 pm

I've followed the instructions to enable Spket (in Aptana Studio 3). It seems to work fine using ExtJS 4.0, but not 4.1. Does anyone else have this working?

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

Re: ExtJS 4.1 Code Completion Not Working?

Post by eric_suen » Wed May 02, 2012 7:23 pm

Please move sdk.jsb3 from extjs-4.1.x/build to extjs-4.1.x, and use that one in your profile, then it should works fine. it can't find the source code due wrong path, it was ../src in Ext 4.0, and now it's src

bobbyw
Posts: 5
Joined: Wed May 02, 2012 5:53 pm

Re: ExtJS 4.1 Code Completion Not Working?

Post by bobbyw » Wed May 02, 2012 8:12 pm

That worked, thanks!

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

Re: ExtJS 4.1 Code Completion Not Working?

Post by eric_suen » Wed May 02, 2012 8:15 pm

there still has some issue due folder "../platform/" does not exists, I have to remap it to "src" folder, please download this fix and replace the old one:
http://www.agpad.com/downloads/com.spket.js_1.6.22.jar

bobbyw
Posts: 5
Joined: Wed May 02, 2012 5:53 pm

Re: ExtJS 4.1 Code Completion Not Working?

Post by bobbyw » Wed May 02, 2012 8:28 pm

Tremendous! I just about to post that I was getting code completion, but not all the members were there, and there was no doc showing up for the ones that were. I took that new jar file, and now it all seems to be there.

adel_yacoubi
Posts: 2
Joined: Fri May 04, 2012 9:29 pm

Re: ExtJS 4.1 Code Completion Not Working?

Post by adel_yacoubi » Fri May 04, 2012 9:35 pm

Eric,

could you please tell me where i have to put the file from http://www.agpad.com/downloads/com.spket.js_1.6.22.jar ?

in the eclipse/plugin folder ? or in extjs-4.1.0/src folder?

Thanks.

bobbyw
Posts: 5
Joined: Wed May 02, 2012 5:53 pm

Re: ExtJS 4.1 Code Completion Not Working?

Post by bobbyw » Fri May 04, 2012 11:42 pm

For what it's worth, I'm using the Aptana 3 client and put it in the "Aptana Studio 3\plugins" folder, replacing the one that was already there, so I would guess that you should have one in the Eclipse plugins folder and you should put this one there.

adel_yacoubi
Posts: 2
Joined: Fri May 04, 2012 9:29 pm

Re: ExtJS 4.1 Code Completion Not Working?

Post by adel_yacoubi » Mon May 07, 2012 1:44 pm

I followed the same steps , i still missing some methods, as example :

var win = new Ext.Window();

win.addButton -> is still missing.

bobbyw
Posts: 5
Joined: Wed May 02, 2012 5:53 pm

Re: ExtJS 4.1 Code Completion Not Working?

Post by bobbyw » Mon May 07, 2012 2:39 pm

I don't see win.AddButton either.

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

Re: ExtJS 4.1 Code Completion Not Working?

Post by eric_suen » Mon May 07, 2012 5:47 pm

I don't think Window has method addButton since 3.0...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest