ExtJS 4.x support

Feature requests

Re: ExtJS 4.x support

Postby icflorescu » Wed Apr 27, 2011 4:32 pm

Sencha just released the final version of ExtJS 4...
icflorescu
 
Posts: 7
Joined: Fri Feb 18, 2011 9:38 pm

Re: ExtJS 4.x support

Postby eric_suen » Wed Apr 27, 2011 8:36 pm

I have uploaded a quick update which should fix Ext.create issue, please download

http://www.agpad.com/downloads/com.spket.js_1.6.18.jar

http://www.agpad.com/downloads/ext-4.0.0.jsb2 for Ext JS 4.0.0
eric_suen
Site Admin
 
Posts: 669
Joined: Wed Sep 28, 2005 7:00 am

Re: ExtJS 4.x support

Postby yd290276 » Thu Apr 28, 2011 4:33 am

one word : "WONDERFULL" ! It works with new Ext.create AND Ext.define and it takes in account the "extend" property.
Thank you very much for this so quick fix !
yd290276
 
Posts: 12
Joined: Mon Apr 25, 2011 8:41 am

Re: ExtJS 4.x support

Postby yd290276 » Thu Apr 28, 2011 5:01 am

hello again,
this post is maybe out of context, and i don't found any post about this "bug" :

I'm on a macbook pro, working on eclipse with spket editor.Do you know why when i want to select or move to next word in editor with keyboard shortcuts "alt+right or left arrow", the cursor dosen't stop at "." ?
For exemple, in code "console.log()", the selection jump from "c" to "(" but doesn't stop at "."

I tried this in PHP editor and in "$test->dispatch($request)", it works. Is this a bug ? Only on mac ?

Thank you !
yd290276
 
Posts: 12
Joined: Mon Apr 25, 2011 8:41 am

Re: ExtJS 4.x support

Postby yd290276 » Wed May 04, 2011 6:07 am

Hi all !
There are still "bugs" in ExtJs 4.0 new class handling in spket in the outline view. Curiously, the outline view is different according EtxJs src file that is opened.

First :
For exemple, application.js shows in outline :
> {...}
> Anonymous
> property xxxx
> property xxxx
> and so on...

But AbstractView.js show in outline :
> Ext
> view
> abstractview
> property xxx
> property xxx
> and so on...

The two classes in the file are defined the same way, says :
Ext.define('Ext.namespace.classname',{});

Second
This is not really a bug, rather a feature request for outline view. When a ExtJS class is defined and extends and/or uses mixins, the extended/mixins properties and methods are not shown in outline.

Are any fixes planned for this ?

Thank you very much for your work !
yd290276
 
Posts: 12
Joined: Mon Apr 25, 2011 8:41 am

Re: ExtJS 4.x support

Postby eric_suen » Wed May 04, 2011 6:12 pm

Uploaded a new version, should fix the first problem, and I don't understand your second question, you mean show properties/methods defined in others class?

http://www.agpad.com/downloads/com.spket.js_1.6.18.jar

And I don't have issue move to next word on Windows system, does "double click" has the same behave on Mac?
eric_suen
Site Admin
 
Posts: 669
Joined: Wed Sep 28, 2005 7:00 am

Re: ExtJS 4.x support

Postby yd290276 » Thu May 05, 2011 5:50 am

Hello,
your fix works great !

For the second point, i mean show properties/methods defined in other classes, for exemple in
Code: Select all
Ext.define('Users.view.Viewport', {
   extend : 'Ext.container.Viewport',

that would be great if the outline view shows properties and methods of class Ext.view.Viewport AND properties and methods of Ext.container.Viewport. But i know this could be difficult because spket is not aware of where are the other js files.


Finally, "yes", the double click as the same behave on Mac as on windows and when i try to double click on a "word" (says in "this.control") i can select only a word. But with "alt+right/left arrow" cursor doesn't stop at the "."
yd290276
 
Posts: 12
Joined: Mon Apr 25, 2011 8:41 am

Re: ExtJS 4.x support

Postby liu78778 » Mon May 16, 2011 2:41 pm

umm, in the jsb2 file
Code: Select all
"pkgs": [{
       "name": "Ext All",
       "file": "pkgs/all.js",
       "fileIncludes": [


where the file "pkgs/all.js", i can't found it in the ext-4.0.0-gpl/com zip, same thing wrong?
liu78778
 
Posts: 4
Joined: Mon May 16, 2011 2:35 pm

Re: ExtJS 4.x support

Postby eric_suen » Mon May 16, 2011 4:41 pm

"pkgs/all.js" is target, the sources are files list in "fileIncludes", the editor only need that information
eric_suen
Site Admin
 
Posts: 669
Joined: Wed Sep 28, 2005 7:00 am

Re: ExtJS 4.x support

Postby liu78778 » Tue May 17, 2011 1:11 am

THANKS VERY MUCH! :D
liu78778
 
Posts: 4
Joined: Mon May 16, 2011 2:35 pm

Re: ExtJS 4.x support

Postby smokeman » Fri Jun 17, 2011 8:17 pm

I installed spket plugin to my eclipse environment, and configured 2 javascript profiles, one for extjs3, and another for extjs4. I downloaded the latest extjs-4.0.2a, and used your jsb2 file in this thread for it, understanding that some stuff will be missing.
I started an extjs4 project, and did a project specific profile, and made the extjs4 the default profile for the project. I imported one of the sample apps in examples for mvc, and went to the top, and typed Ext.(then codehints popped up), so that works, however the outline is not working. I used that heavily with ext3. have I misconfigured?
I did not download the .jar file in this thread, I just used the normal update site. Is this file a replacement for that file(which ends up in plugins folder in eclipse?)
smokeman
 
Posts: 2
Joined: Fri Jun 17, 2011 8:09 pm

Re: ExtJS 4.x support

Postby eric_suen » Sat Jun 18, 2011 5:49 am

yes, you need download the .jar file, and here is http://www.agpad.com/downloads/ext-4.0.2a.jsb2 for Ext JS 4.0.2a
eric_suen
Site Admin
 
Posts: 669
Joined: Wed Sep 28, 2005 7:00 am

Re: ExtJS 4.x support

Postby smokeman » Mon Jun 20, 2011 6:13 pm

works great now, thanks!
smokeman
 
Posts: 2
Joined: Fri Jun 17, 2011 8:09 pm

Re: ExtJS 4.x support

Postby jeldad » Tue Jun 28, 2011 10:27 am

Hello,

Am using Aptana Studio 3 with Spket. Have
a) created necessary ExtJS profile
b) downloaded/extracted ExtJS4.0.2a into folder --> ../ext/402a
c) downloaded http://www.agpad.com/downloads/com.spket.js_1.6.18.jar into ...\aptana studio 3\plugins\ (Renamed existing file)
d) downloadedhttp://www.agpad.com/downloads/ext-4.0.2a.jsb2 into
i) extjs root
ii) extjs build folder

When I add the jsb2 file, i only see [Ext.All]. Nothing else appears. Code assist doesnt work. Works with ExtJS 3.#
Would appreciate any pointers on what i need to be doing.

Regards
jeldad
 
Posts: 2
Joined: Tue Jun 28, 2011 10:13 am

Re: ExtJS 4.x support

Postby eric_suen » Tue Jun 28, 2011 1:16 pm

the jsb2 file should download into extjs root folder, and yes it only has Ext.All, just select that one, make sure the profile is your default profile, and open javascript file use Spket JavaScript Editor.
Renamed existing file
you should move that file to other folder or just delete it
eric_suen
Site Admin
 
Posts: 669
Joined: Wed Sep 28, 2005 7:00 am

PreviousNext

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron