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.

8 comments

Jarkko Laine
 

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).
Read more
Read less
  Cancel
Jarkko Laine
 

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.
Read more
Read less
  Cancel
Lars Pind
 

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
Read more
Read less
  Cancel
Jarkko Laine
 

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.
Read more
Read less
  Cancel
dan@chak.org
 

Lars, the link is broken.
Read more
Read less
  Cancel
Lars Pind
 

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.
Read more
Read less
  Cancel
Jarkko Laine
 

I still have the bundle. I'll mail it to you in a sec.
Read more
Read less
  Cancel
Boris Aranovič
 

Although these links have been down for many many years by now, I stumbled across this post while searching for TCL bundles, and I thought to share this working bundle's repo that I'm using almost on daily basis:

https://github.com/textmate/tcl.tmbundle

Read more
Read less
  Cancel

Leave a comment