Lars Pind

coaching and entrepreneurship

Lars Pind - coaching and entrepreneurship

First version of OpenACS syntax highlighting for TextMate

October 10, 2004 · 7 comments

http://pinds.com/files/OpenACS.tmbundle.zip

Far from perfect, but a first step on the way, here’s syntax highlighting for OpenACS Tcl and ADP files for use with TextMate for the Mac. Let’s just say it’s GPL, so enjoy, make it better, and share back. Still no snippets, commands, or any of the other stuff you can do, but it’s a start.

Update: OpenACS for TextMate, not for OpenACS.

UPDATE2: It’s gone, lost in the server move. Sorry.

UPDATE3: Mike Naberezny tells me it can be found here.

UPDATE4: Jarkko sent it to me, so the link at the top works again now.

blog comments powered by Disqus

7 responses so far ↓

  • 1 Jarkko Laine // Oct 15, 2004 at 01:18 PM

    Opening adp and tcl files from within a project not working Hi Lars, And thanks for the bundle. I'll try to come up with a few macros/snippets soon. I noticed one weird behaviour, though. Notably, I can't open an adp or a tcl file from a project (after I made an OpenACS installation to a project). Opening a file with the normal open command works fine, tho. Have you noticed anything similar? I'm using the latest beta (1.0.1b4).
  • 2 Jarkko Laine // Oct 15, 2004 at 02:21 PM

    figuring out Ok, I figured out a fix for this. I had to add the file extensions (adp, tcl and xql) to CFBundleTypeExtensions in Info.plist file inside the TextMate application package. I have a hunch, however, that this might not be the right way since I think the whole package is replaced when upgrading. Besides, TextMate still only shows a blank file icon for these files in the project drawer.
  • 3 Lars Pind // Oct 15, 2004 at 03:58 PM

    No problems here Hi Jarkko Works fine for me, without making changes to anything. I did start my OpenACS project before creating this bundle, though. /Lars
  • 4 Jarkko Laine // Oct 20, 2004 at 02:28 PM

    Fixed I reported this to Allan and he added the suffices OpenACS uses to the default TM package (since b5 or b6). Registering filetypes with a TM bundle isn't possible yet, however, but according to Allan it's on the todo list.
  • 5 dan@chak.org // Apr 11, 2006 at 10:45 PM

    Lars, the link is broken.
  • 6 Lars Pind // Apr 11, 2006 at 11:35 PM

    Sorry, it must've been lost in the move. I don't have it anymore. I asked a couple likely candidates, but they don't either. If anyone else reading this has mine or some other OpenACS for TextMate bundle, please post a pointer here. Otherwise, TextMate comes with excellent support for Rails built-in.
  • 7 Jarkko Laine // Oct 31, 2006 at 11:21 AM

    I still have the bundle. I'll mail it to you in a sec.