I've included a couple of newer versions of the Ext JavaScript API catalogs (for versions 1.1.1, 2.0.2, 2.2 and 3.0). Download and install this extension, then after a restart the API's should be selectable in Komodo's API catalog preferences. Sometimes needs a restart after selecting the API catalog in the preferences though.
The Ext website is: http://extjs.com/
Note: Only one version of the Ext API should be enabled at a time, otherwise you'll get completions and calltips for the combined/mix of API methods.
Todd -
I'd love to see an update for Ext JS version 2.2. There are quite a few new classes and methods which have been added since 2.0.2.
Thanks,
Aaron Conran
aaron at extjs.com
Ext JS Core Developer
I've updated the extension to include Ext version 2.2. Limited testing shows this update is working, so let me know if you have any problems with it.
The v2.2 catalog file (cix) also includes the Ext.air namespace (and any associated namespaces that are included within the air package).
Cheers,
Todd
Wow, Todd! Thanks for the quick response and adding support for this so quickly. I will test it out.
I also have a set of snippets that I have been using with Komodo for Ext development. I'll be releasing these on our blog later this week.
Great. It could be possible to include your snippets by default inside of Komodo, provided that is okay with you. Komodo currently ships with a couple of jQuery abbreviations, which are the only JS Framework specific snippets provided by Komodo thus far.
Cheers,
Todd
Todd -
That shouldn't be a problem. Send me an email so we can work out the specifics of how to get it shipped out w/ the next release.
Thanks,
Aaron
aaron at extjs dot com
Aaron, did these snippets ever get shipped/released/blogged about?
I'd be quite interested. I have a reasonable collection but they are mostly v4.
Does not recognize namespace.
var Ext.ux.testGrid = Ext.extend(Ext.grid.GridPanel, { // this line is underlined red, tip says "SyntaxError: missing ; before statement(on column 5)"
initComponent : function(){
var config = {}
}
Ext.apply(this, Ext.apply(config, this.initialConfig));
Ext.ux.testGrid.superclass.initComponent.apply(this, arguments);
})
Regards,
Kris
Hi Kris,
Komodo does not have specific handling of "Ext.ns", "Ext.extend" or "Ext.apply" - so it treats these as if they are normal function calls.
This is similar to the Prototype bug discussed here:
http://bugs.activestate.com/show_bug.cgi?id=79817
Feel free to log an enhancement request for the ExtJS methods and/or try writing some Ext codeintel handlers (similar to the Yahoo and Dojo ones).
Cheers,
Todd
Any chance there will be an update for Ext4?
Possibly, though I first need to make some JavaScript scanning tweaks before I can make the update.
Anyone know if Ext provide docs in XML format? As that makes it better (and more accurate) for API catalog generation?
Cheers,
Todd
The docs are generated from jsDoc comments in the source. Something could probably be generated in XML using a jsDoc parser.
Hi,
Is there any update on Ext4 support?
Thanks,
Brett
I'm also very interested in an updated CIX for Ext4 (and the tools to build a custom CIX from JSDoc annotations).
Is there an estimate of when we might get this?
Would like to change my API catalog for EXT JS 4 as well : )
Is there extjs 4 to support it ???
Hi there,
This plug-in is incompatible with Komodo IDE 7. Is this going to be fixed? or is there an alternative to it?
Cheers,