ActiveState Community

All / Any

Tools for developing Komodo add-ons (extensions)

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
Komodo Extension Developer
Venkman JavaScript Debugger
Hack It

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

Support for prototype.js Class:create({hash}) syntax in code Browser

OS: All / Any

The Code Browser doesn't seem to understand this kind of Syntax

var myCoolClass = Class.create({
    initialize: function() {
    },

    method: function() {
    }
});

introduced by the Prototype Javascript Library.

Any idea/chance to change this?

Where can I find 4GL / Progress color syntax?

OS: All / Any

Hi all,

Have anybody idea where can I find 4GL/Progress syntax color for Komodo?
Or how can I convert vim or gedit color syntax to Komodo?

thanks!

Starting debugging with a specfied script?

OS: All / Any

I'm using Komodo 5.2.2 on OS X, working on a Python project. When I invoke the debugger via Debug > Go/Continue, I'd like my main application script to run instead of whatever's open. I've set the "Script" setting in the Project Properties and Settings > Debug Session Startup to the full path of the script I want to run, but Komodo still runs the file that's open. Can anyone suggest a fix?

Also, I've become used to having files open automatically when they're selected in the project pane, rather than requiring a double-click to open - is there a way to have Komodo behave that way?

Need help in parsing a text

OS: All / Any

Hello All,

I need help in getting the contents of a file parsed.

For eg: I have a text file which reads as below

--------------------------------
hostname: server1
change set version:
M:\shanmukh\file@@\branch1\3
M:\shanmukh\file_3@@\branch1\6

--------------------------------

I would like to capture anything which comes after "change set version".

Using regexp i tried a little and iam able to find only till change set versions. iam not sure how to get contents after change set versions.

Any help would be appreciated.

shanmukh.

Code for Email notification

OS: All / Any

Hi all,

Any sample code to send an email notification using perl.

Appreciate your help and reply.

shanmukh.

Folding HTML

I just started using Komodo Edit and am really enjoying it. One thing I can't quite figure out is how it decides where to fold HTML code. It seems to me that it folds from the first opening tag of a line to include the line of its closing tag. I think my confusion stems from including multiple opening or closing tags on one line. Can anyone confirm this or are there other folding criteria for HTML?

Thanks!

How many snippets can komodo swallow?

OS: All / Any

Some more questions and feature ideas

Color picker:
What happened to the former color picker? For me, the new one is totally unusable. Is there any way to revert the color picker back to the former version. Also would it be possible to integrate something as wonderful as color zilla into komodo?

Snippet collection:

Translating OpenKomodo

OS: All / Any

Hi all,

I'm interested on translating OpenKomodo into Catalan language. I've been looking for it on the web but didn't find anything.

Is there a manual or something similar to know how to start translating OpenKomodo?.

Thanks!

Pau

Maya Python .CIX Extension

OS: All / Any

Just a quick .cix containing the functions, classes and member vars for Maya's python command and API libraries.

Enjoy!

NOTES:

- This was a fairly quick hack... apologies if your function is missing. There was a lot of *_swigregister and other related noise when listing members of the API libs that were filtered out by the script.