Komodo Language Support for TaskJuggler

I’ve been using TaskJuggler on an off-and-on basis over the past nine months or so; it’s a reasonably full-featured project scheduling tool, written in Ruby and using a plain-text input file to define all aspects of the project (resources, tasks, task dependencies, etc.). The syntax for the input files is reasonably straightforward, but I’d been wishing for a bit of syntax-highlighting support in working with those input files. Enter ActiveState’s Komodo v7 and the Komodo team’s focus on making it a little simpler to throw together support for additional languages in Komodo… the result is basic (at this early juncture) support for TaskJuggler input files.

Screenshot of TaskJuggler syntax highlighting in Komodo
Syntax highlighting for TaskJuggler project files in ActiveState’s Komodo editor/IDE

I recognize there is a very limited audience for this particular language in Komodo: supporting TaskJuggler input files is probably not going to be what sways people looking for a text editor toward Komodo. That being said, with Komodo being my primary editor for most tasks, having support for TaskJuggler made sense at least for my own use. And who knows? Maybe it will be of use to one or two other TaskJuggler users.

This early version (tagged as v0.1.0) provides basic language syntax highlighting, a bit of language intelligence, and some basic macros to

  • provide language help,
  • check the syntax of TaskJuggler files, and
  • implement Komodo abbreviations for the two most common TaskJuggler commands (“resource”, “task”)

Download it, install it as you would any other Komodo extension, and have at it.

Download: taskjuggler-0.1-ko.xpi

I still have a fair amount of work ahead refine some of the subtleties of how the TaskJuggler language is parsed to be a little more context-aware as it tokenizes the language. I’m also very open to suggestions as to what sorts of additional macros and abbreviations would add value to be bundled with the “TaskJuggler Tools” installed with the extension.

Feedback definitely welcome; leave comments below…

Update (July 18, 2013): Minor update to work in the 8.* builds of Komodo IDE/Edit. No other changes.

3 thoughts on “Komodo Language Support for TaskJuggler”

  1. I have been a grateful user of your plug-in for many months. Thanks! Now I am installing on a new Windows box and get the error message “Taskjuggler Language is incompatible with Komodo Edit 8.0.2”. Would you perhaps have an updated .xpi you’d be willing to share? Thank you for considering.

  2. @Rob: Not a problem. I will update the extension and post something here when the new build is available. (And thanks for the follow-up!)

  3. @Rob: Download and install the version now available and it should work fine in any 8.* build of either Komodo Edit or IDE. I need to go through the TJ docs based on the recent update to TaskJuggler and update some of the keyword support in the extension. I will bump the version number and post an update when I have those in place.

Comments are closed.