Page 1 of 1

Textmate Bundle

Posted: Sat Apr 07, 2007 4:03 pm
by Jeff
I've been working on a textmate bundle for newLISP along with a theme. They aren't complete yet, but they work. The bundle includes:

* newLISP syntax/keywords
* evaluate file (sends to newlisp and reports in a new window) (cmd r)
* evaluate selection (same again, but for selected text) (cmd e)
** both of these use `time` to time the runtime on the command

The theme just highlights about the same colors as the syntax highlighter on the site. Folding is *not* working in the bundle, and if anyone has a good idea of how to get it working, please feel free to let me know so I can start taking credit immediately.

You can download them both here:

http://lutze.nfshost.com/

Posted: Sat Apr 07, 2007 4:26 pm
by cormullion
cool.

don't forget to add your name to

http://macromates.com/wiki/Polls/WhichLanguageDoYouUse

- I would have done so too, but my 30 day trial expired.. :-/

Posted: Sat Apr 07, 2007 4:42 pm
by Jeff
Done. Textmate is worth the money. It's about the only program I've ever used that I have felt that way about :)

Posted: Sat Apr 07, 2007 5:22 pm
by cormullion
It's an amazingly powerful system. I spent a good few hours working on the newLISP bundle as well - and I think I wrote about it as well somewhere, even though I never really got the better of it. I was - and am - still torn between BBEdit and TextMate, even though they're so very different. When I'm back in employment I'll treat myself.. :-)

Posted: Sat Apr 07, 2007 5:52 pm
by Jeff
I have used bbedit, and if I had several hundred bucks expendable budget, it would probably go to my house rather than an editor. It's a decent editor, but I prefer the folder tree rather than a flat list of open files in my sidebar. I also prefer the size and feel of texmate :)

Posted: Fri Apr 13, 2007 4:13 pm
by Jeff
Updated today. Fixed some coloring issues, added `time` to bash script that evaluates the file/selection, fixed some keyword recognition issues, etc.

Textmate Versions

Posted: Tue Apr 24, 2007 12:46 am
by johnd
I've just started using Textmate, and I'm thrilled there is a bundle for newlisp. Jeff, thank you for creating it.

Has this been tested on the most recent version of Textmate? When I doubleclick on the bundle icon Textmate tells me that the info.plist is either missing or corrupted (it's not missing).

When the file is added directly to ~/Library/Application\ Support/TextMate/Bundles/ it is not recognized.

The theme file seems to work fine.

Thanks.

John

Posted: Fri Apr 27, 2007 9:19 pm
by Jeff
Hmmm. Not sure what could be causing that. I use the latest rev and it works on mine. If you move it manually into /Users/foo/Library/Application Support/Textmate/Bundles/, you will need to restart the application to have it recognized. I'll take a look this weekend if I can and see if I can figure it out.

Posted: Wed May 09, 2007 5:04 am
by Jeff
Should be fixed now. I've also updated it to support folding and a better theme.

Clarification: folding is supported for define/define-macro only, due to limitations in either textmate or my brain.

Posted: Wed May 09, 2007 9:00 pm
by Lutz
I also have put a link to this on http://newlisp.org/index.cgi?Code_Contributions (with your permission?)

Lutz

Posted: Wed May 09, 2007 9:24 pm
by Jeff
Of course.

Posted: Thu May 10, 2007 3:07 am
by johnd
Thanks again Jeff. I'm really looking forward to using this.

John