First version of OpenACS syntax highlighting for TextMate

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.

7 comments

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).
By Jarkko Laine on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel
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.
By Jarkko Laine on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel
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
By Lars Pind on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel
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.
By Jarkko Laine on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel
Lars, the link is broken.
By dan@chak.org on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel
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.
By Lars Pind on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel
I still have the bundle. I'll mail it to you in a sec.
By Jarkko Laine on Sat, Oct 09, 04 at 19:49 · Reply
  Cancel

Leave a comment