Komodo extensions
Most fans of the Mozilla or Firefox browsers know that much of the appeal of the program lies not in its standard features but in its third-party .XPI extension programs. Elegant add-ons like the newsreader Sage, the weather-reporting tool ForecastFox, and the indispensible Adblock and FlashBlock quickly become must-haves.
Somehow, though, I never connected that since my favorite Python IDE, Komodo, was built on top of Mozilla, .XPI extensions could be built for it as well. The hint came from reading this post by ActiveState's own Shane Caraveo on the komodo-discuss newsgroup. A little further digging in the Komodo 3.1 Professional modules directory revealed that the PerlDevKit toolbar itself is a .XPI extension.
After a little effort of my own, I was able to create a small HelloWorld program that attached itself to Komodo's help menu and display a JavaScript Alert box. I followed the guidelines from Eric Hamiter's Firefox Extensions tutorial, but after running into some problems, I also consulted some XULKit examples also to get things running.
One real issue is that Komodo doesn't have an uninstall option for extensions like Mozilla itself. Instead you have to follow the directions here in order to do it, which is a pain, but so far I haven't done anything catastrophic.
Now I'm on the road to building a task list tab for Komodo's output window, similar to the one in VS.NET. I'm using the current Komodo JavaScript code as a guideline, but already I'm discovering I need to know XUL templates, XPCOM, and probably some CSS too. Whew!
Something exciting though: a quick check on Google for "Komodo .XPI extensions" doesn't really come up with any prior work, so I have the opportunity to plow some new ground here.
I'll keep posting here as I make progress.
Somehow, though, I never connected that since my favorite Python IDE, Komodo, was built on top of Mozilla, .XPI extensions could be built for it as well. The hint came from reading this post by ActiveState's own Shane Caraveo on the komodo-discuss newsgroup. A little further digging in the Komodo 3.1 Professional modules directory revealed that the PerlDevKit toolbar itself is a .XPI extension.
After a little effort of my own, I was able to create a small HelloWorld program that attached itself to Komodo's help menu and display a JavaScript Alert box. I followed the guidelines from Eric Hamiter's Firefox Extensions tutorial, but after running into some problems, I also consulted some XULKit examples also to get things running.
One real issue is that Komodo doesn't have an uninstall option for extensions like Mozilla itself. Instead you have to follow the directions here in order to do it, which is a pain, but so far I haven't done anything catastrophic.
Now I'm on the road to building a task list tab for Komodo's output window, similar to the one in VS.NET. I'm using the current Komodo JavaScript code as a guideline, but already I'm discovering I need to know XUL templates, XPCOM, and probably some CSS too. Whew!
Something exciting though: a quick check on Google for "Komodo .XPI extensions" doesn't really come up with any prior work, so I have the opportunity to plow some new ground here.
I'll keep posting here as I make progress.
