ActiveState Powered by ActiveState

ActiveState Community


ExtJS API catalog collection

Posted by ToddW on 2007-10-10 12:55
2.0.2
Todd Whiteman
Thu, 2008-02-28 14:15
  • : 4.2 - 4.*
  • : 4.2 - 4.*

I've included a couple of newer versions of the Ext JavaScript API catalogs (for versions 1.1.1 and 2.0.2). 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.

BernardChhun | Thu, 2007-11-08 12:03

awesome Todd,

thanks a bunch!

shish | Mon, 2008-02-04 21:53

suffix
xpi or cix?

BernardChhun | Tue, 2008-02-05 08:31

the *.cix is the old syntax completion file.

now you add it using the xpi.

jondxs | Tue, 2008-02-05 02:36

Sorry Todd, I can't get the API loaded - Komodo doesn't seem to recognise the xpi extension. How should I load this?

BernardChhun | Tue, 2008-02-05 08:40

to install it and let komodo edit manage its update in future releases:

1. open up tools --> extension manager
2. wait for the extension manager's dialog to open then click on install on the bottom left
3. select the xpi file you just download
4. another dialog will open so that you may install it. the dialog is the same as when you add extensions to Firefox.
5. restart Komodo

to activate it:

1. open up edit --> Preferences
2. click on Code Intelligence on the left menu
3. select either ExtJs v111 or ExtJs 2.0 by clicking in the little space on the left.

thats it :)

ds94103 | Sat, 2008-02-09 10:26

Hmm, I'm not seeing it.

I've done the above, then restarted, code intelligence checked as 'ext-v20-alpha1', typed in

var q = Ext.getCmp( 'foobar' );

and the IDE does nothing for me - complains it can't 'resolve first part of Ext...'

What am I doing wrong?

ToddW | Sat, 2008-02-09 19:37

Try a restart of Komodo. Then when you type "Ext." in a JavaScript file you should see the code completions on Ext namespace.

You should also see code calltips for the methods:

For more troubleshooting ideas, try unselecting the extjs api catalog, try to get JS completions on something like "window.", make sure that part is working, then re-enable the Ext catalog.

That get it working?

Cheers,
Todd

ds94103 | Mon, 2008-02-18 18:56

Yup, I re-installed, restarted and all is well. I don't know what the problem was before.

Thanks.

d

ToddW | Tue, 2008-02-05 12:20

Yes, what Bernard said :)
Thanks Bernard!

The idea is the same as Firefox extensions (xpi files), though you have to download the xpi file (right-click and use "Save As"), then open this downloaded xpi using Komodo's File->Open dialogs, or drag and drop the file onto Komodo, or open it through the extension manager.

Cheers,
Todd

ToddW | Thu, 2008-02-28 14:08

The release of Komodo 4.3.0 (expected early March 2008) will now automatically include support for Ext version 2.0.2 through the CodeIntel API catalogs.

I'll also update the extension to now include the newer 2.0.2 release as well.

Cheers,
Todd

BernardChhun | Thu, 2008-02-28 15:47

weeeee couldn't expect less than that from you guys!

-->