Tools for developing Komodo add-ons (extensions)

Posted by toddw on 2009-11-13 14:23
OS: All / Any | Product: Komodo | tags: komodo extension addon tools
Question: 

Can you provide some tools to help with developing Komodo extensions?

Answer: 

Komodo project template
There is a project template included with Komodo for creating new Komodo extensions, use the menu:
File->New->New Project from Template
and then select the "Komodo" category. This will create the base structure for a new Komodo extension and include the tools to help build it.

Koext
There is also the Komodo "koext" tool to help in creating and building of Komodo extensions (koext is used by the above project template under the hood), which can be further tweaked to assist in creating new custom language extensions and codeintel add-ons:
http://community.activestate.com/forum/introduction-building-komodo-exte...

Tools
There are many tools that can assist with playing with DOM / JavaScript:
DOM Inspector
Element Inspector
Komodo Extension Developer

Other Docs
Then there is most of the Mozilla extension documentation, which also applies to Komodo (just the UI layout and DOM node naming is different):
https://developer.mozilla.org/en/Building_an_Extension

gernebet | Mon, 2010-03-08 01:32

thanks..

sergiol | Sat, 2010-10-09 05:52

In menu File->New->New Project from Template
there is no Komodo category

UPDATE: I noticed there is an option for this in the Project menu. Please, update.

sergiol | Sat, 2010-10-09 05:59

When I try to create a "Komodo Extension .kpz" project, after pushing the OK button of the project describing message , I receive a message:
NameError: global name 'qlog' is not defined

Am I doing something wrong?

sergiol | Sat, 2010-10-09 06:18

It also does'nt escape accents for the XML RDF generated. For example if you put author as Sérgio in the textbox, it raw-copies this from the message asking the details, and gives a "XML-Error: not well-formed (invalid token)" in the file.
It is needed to replace the special chars with their respective entities.

ericp | Thu, 2010-11-04 10:21

It's documented in http://bugs.activestate.com/show_bug.cgi?id=88657

It's easy to fix in the field: find koTools.py in the komodo install,
and delete line 375 or so (the one that starts with "qlog").

Time to look at the accent issue...

- Eric