Tuesday, March 27th, 2007
Here’s a tip I just now found out about. In TextMate, the HTML bundle has a ton of available snippets. Unfortunately, they don’t automatically add the closing trailing slash for certain elements. For example, instead of inserting
<br/> or <input type="text"/>
TextMate inserts
<br> or <input type="text">
(Note the missing trailing slashes.)
You can change this behavior by going to
TextMate Preferences → Advaned → Shell Variables
Create a new variable called “TM_XHTML” with value “/” (no quotes)
Now TextMate will output valid XHTML when you use the HTML bundle. Here’s a screenshot showing the correct setup. Hope this helps!
http://raven-seo-tools.com/blog/2949/how-to-use-valid-xhtml-tags-in-textmate
Friday, March 23rd, 2007
Since the announcement of Adobe’s new cross-platform runtime, Apollo, I’ve been busy building sample applications and dreaming up new ideas. To make this easier, I created a quick Apollo bundle for TextMate. It’s very basic, but it gets the job done. It includes the following items:
Application Descriptor Template
Debug Command – launches a debug instance of your app.
Package Command – packages your app.
To install, simply download the bundle, unzip, and double-click to install into TextMate. Note: the bundle makes two assumptions about your development environment.
The Apollo SDK is installed in “/Applications/apollo” on your machine.
Your application descriptor XML file should be called ...
http://raven-seo-tools.com/blog/2946/adobe-apollo-bundle-for-textmate
Thursday, March 1st, 2007
Sitening’s favorite editor for developing websites — TextMate — has a new book for learning the ins and outs of this amazing program. It’s called, “Textmate: Power Editing for the Mac.” The book description says it all, although I’m not sure about the ninja part.
TextMate is a powerful tool for programmers, web designers, and anyone else who regularly needs to work with text files on Mac OS X. TextMate focuses on pragmatic automation, which means it will save you time time that’s always in short supply. See how your lowly text editor can become a hard working member of your ...
http://raven-seo-tools.com/blog/2750/new-textmate-book-available
Thursday, November 2nd, 2006
Here’s an idea, let’s program a secret feature in a widely used Mac application and make the icon change to something completely different. That’s exactly what Allan Odgaard (through the prodding of two contributors) did with his application, TextMate. On October 31st the icon for TextMate changed to a special Halloween version.
Normal Icon
Mr. Cutesy Version
My first reaction when I opened the program was both “cute” and “annoying.” If it was only for a day, then I wouldn’t care — it will just change back to the old icon tomorrow. The problem is that is didn’t. November 1st rolled in and ...
http://raven-seo-tools.com/blog/2701/when-developers-get-cute
Wednesday, April 19th, 2006
Earlier this year, Jon posted a Perl script that Scott wrote which strips out deprecated HTML tags and showed how to run this as a plugin for BBEdit. Slowly over the last few months I’ve convinced Jon to use TextMate as his text editor of choice. The one thing holding him back from fully migrating away from BBEdit was this plugin. Luckily, implementing it in TextMate is dead simple. Here’s how:
Right-click and save this Perl script to your computer and move it into your home directory. (Or wherever you’d like it to be.)
Open TextMate’s Bundle Editor. Window → Show Bundle ...
http://raven-seo-tools.com/blog/2913/deprecated-html-tag-stripper-for-textmate