Dojo API catalog collection

Posted by toddw on 2007-10-09 18:37 |
1.4.0
Todd Whiteman
Wed, 2011-03-23 18:18
  • : 4.2 - 6.*
  • : 4.2 - 6.*

I've included a couple of newer versions of the dojo JavaScript API catalogs, covering these dojo versions:

  • 0.4.3
  • 0.9.0
  • 1.1.0
  • 1.2.0
  • 1.3.0
  • 1.4.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 Dojo website is: http://dojotoolkit.org/

Note: Only one version of the dojo API should be enabled at a time, otherwise you'll get completions and calltips for the combined/mix of API methods.

Updates

1.4.0: 13th January 2010
- Included dojo 1.4.0 api catalog

1.3.0: 14th April 2009
- Included dojo 1.3.0 api catalog

1.2.0: 13th October 2008
- Included dojo 1.2.0 api catalog
- Support Komodo 5.0

patrickmetz | Sun, 2008-10-12 15:04

It's really great to have Dojo-support in Komodo. Thank you very much!!! Will there be an update of this extension for Dojo 1.2 anytime soon?

Best Regards
Patrick Metz

toddw
ActiveState Staff
Mon, 2008-10-13 12:25

Excellent, dojo 1.2 has been released.

I've updated the extension to include 1.2.0 support, using the dojo makeCix script.

Let me know of any problems with it.

Cheers,
Todd

patrickmetz | Tue, 2009-04-14 02:07

Are you planning to update your extension for Dojo 1.3 anytime soon?
Sorry to bother you again, but I have to work with Dojo alot and I don't know how to get that update done by myself :-/

I actually think that Activestate should provide automatic updates for their Dojo-extension as soon as a new version of Dojo is released. I mean they claim to provide integration of Dojo... but their extension seems to be stuck at version 1.2.0...

Patrick Metz

toddw
ActiveState Staff
Tue, 2009-04-14 09:36

Hi Patrick,

Yes, I had just finished updating the Dojo catalog file for v1.3.0, ready for the Komodo 5.1.2 release. I've now also added the same 1.3.0 API catalog to the extension (Tools->Add-ons and then check for updates).

Cheers,
Todd

patrickmetz | Tue, 2009-04-14 11:19

Awesome !!!

I didn't know that you work for Activestate :-)
Thanks a lot!!

patrickmetz | Mon, 2008-10-13 14:31

Thanks a lot!

It works great :-)

cjhazard | Tue, 2009-08-11 06:29

I may be being rather dumb here but I can't seem to get this working.

I've installed the API as directed (Mac OSX), restarted Komodo, selected the API in the Komodo prefs and restarted Komodo again....

Nothing... no code completion for example.... what am I doing wrong?

Thanks in advance.

cjhazard | Tue, 2009-08-11 06:41

I tell a lie... I do have code completion within Javascript... I was kinda expecting code completion in HTML as well.

For example, if I type '< button' I can then see 'dojoType' in the code-completion options.

Seems I misunderstood.

toddw
ActiveState Staff
Tue, 2009-08-11 10:13

Right, this Dojo API catalog only provides the JavaScript completions - no HTML completions are yet provided.

Cheers,
Todd

dmidz | Mon, 2013-08-05 03:06

Hello,
I am just starting to use Komodo which is a nice IDE (and not too much heavy), I am just wondering if it is possible to generate a cix file for the new dojo versions ? I mean since dojo 1.7, it use the great amd loader, does the code intelligence could be able to resolve the module load and display its methods in context ? ex :

// in my-module.js
define(['dojo/dom-construct'], function(cons){
   cons.// <- oh it is nicely displaying list of dom-construct module methods
});

I had a look at dojo/util/docscripts/makeCix.php but it is full of errors and I suspect this is an old and quick attempt (considering the comments in), maybe before amd loader, even I quickly correct the errors, the file seems light compared to the native dojo 1.3 catalogue provided. Before trying to build a good one, I would like to be sure the code intelligence could work with amd loader.
Thanks for any advice.