-
17 Jun 2007 11:21 PM #1
Using Spket IDE for ExtJS development
Using Spket IDE for ExtJS development
Spket IDE is powerful toolkit for JavaScript and XML development, version 1.5.11 add ExtJS support.
The flash demo show you how to setup Spket IDE for ExtJS development:
http://www.spket.com/demos/extjs.html
Currently it support Ext 1.1 Stand-alone(Ext Base + Everything target defined in ext.jsb)
Please visit http://www.spket.com/ for more information...Spket IDE - Development Tool for RIA
-
18 Jun 2007 2:28 AM #2
ooh.. nice one.

-
19 Jun 2007 5:12 AM #3
I installed this into Aptana and the code completion is amazing. It even shows inherited properties and functions and where they came from. The comment folding is also a nice addition. Very nice work!
Can I make a couple of requests for a future version?
a) An option to "auto collapse" comments when a file is opened would be huge. Some of the Ext files have 1000 lines of comments and 100 lines of code. Intellij does this and it's one of the reasons I use it currently.
b) The only other missing feature I "need" is an Outline view that parses object literals. Most Ext files (like Component.js) have tons of functions defined with Ext.extend and scrolling to find them is impossible. Intellij is the only IDE I have found that parses object literals (and variables) as functions when defined in reverse (e.g. var foo = function(){... or in an object literal), although it isn't perfect (it doesn't understand Ext.extend).
Those things aside, this is really spectacular. Can someone who knows Wiki please add it into the Learn section?
-
19 Jun 2007 5:39 AM #4
Very nice!!! Could be a big help.
One question: does this also work with Ext 1.0?
-
19 Jun 2007 5:42 AM #5
Done. I added a new sub-section to the Resources section of the Manual:
http://extjs.com/learn/Manual:Resources#IDEs
Please, those interested and with knowledge of IDEs (not my case), make the list grow and also write some useful introduction and descriptions
Fernando G
-
19 Jun 2007 5:42 AM #6
It's pretty easy to try it out and see.
It worked fine with 2.0!
-
19 Jun 2007 5:48 AM #7
-
19 Jun 2007 8:27 AM #8
Spket IDE - Development Tool for RIA
-
19 Jun 2007 9:07 AM #9
Spket IDE - Development Tool for RIA
-
19 Jun 2007 4:09 PM #10
A good example file would be Component.js in Ext. There are two types of definitions in this file. The "singleton style":
The other is the standard Ext style class declaration:Code:Ext.ComponentMgr = function(){ ... return { register : function(c){ all.add(c); }, ... (more functions)...
I understand that parsing these out and associating them to the correct class would be pretty difficult. For me (and maybe others), it doesn't matter if they are associated with the correct class, just that they appear in the outline somewhere.Code:Ext.Component = function(config){ ... }; Ext.extend(Ext.Component, Ext.util.Observable, { ...(functions here)... });
Here's some screenshots that I think will better explain what I mean:
Spket:

Aptana: (empty too)

IntelliJ: (picks up the functions but can't figure out the class name)

Even though IntelliJ doesn't give the classes proper names, in large files having the function name in the outline is better than nothing.
Thanks for taking the time to listen to feedback. I look forward to the collapsing comments.


Reply With Quote