TextMate: The Missing Editor for Mac OS X

LogoLets face it — TextEdit is underpowered. It is the only text editor Apple gives us, and it’s just that; a text editor. You can go in certain directions and get a CSS editor, or an HTML editor, but what about an Everything editor? That is where TextMate comes in. Just as it is dubbed, it is the missing editor for OS X.

TextMate lets you code, or just write in a large number of formats. Pretty much any format you can think of, it supports! It is made for coding, though; it doesn’t just open up any format, it really supports them. It knows the code, so it knows what color to make certain elements. Now this (at least nowadays) is in most text and code editors, but because TextMate is all-in-one, you will know when you see a certain color in any form of code that it’s a comment, a keyword, etc. This makes it truly easy to switch all of your code over into TextMate.

As I said above, TextMate color codes all of your code with certain colors for certain things, but you can also change these colors. You can do this in TextMate’s Fonts & Colors tab of the preferences. You can either choose a preset theme from the pulldown menu or add your own theme by selecting Edit Theme List and clicking the [+] button. There are about 20 built-in themes, each with a unique style, so it’s hard not to like the look of TextMate.

Screenshot

In the bottom of the main window of TextMate (each document) there are also some options. You can choose a text format from the popup button that says Plain Text. This is where the above feature comes in handy. It knows each language on that list, so it will highlight, color and format based on the kind of code (ie comments, keywords). I find this especially useful when compared to parts of Xcode. Xcode’s text coloring can be hard to see, but in TextMate, you can customize it so it is easier to see the coloring.

Screenshot

Another option in the bottom is the Actions popup. This is the popup that has the actions button (the gear). For each language, TextMate provides many actions that can be done. For example, you can make shell scripts executable, or you can simply use its math actions to add, or even send to Google Calculator. This is also where code snippets are. Under this same menu, when you select a type of code, it will give you some commonly used snippets. These can be incredibly useful for typing repetitive lines. It has a bunch of built-in snippets for each language, and you can also add them too!

One of TextMate’s best features is its terminal plugin. It can install an executable into /usr/bin that can be run from terminal. TextMate comes with many commands (for Terminal) that you can use to make programming easier. All you have to do is type “mate” into the terminal, and TextMate will appear. Of course, this is one of the simpler ones, but it still helps!

TextMate is so full of features that it would be almost impossible to list and tell about all of them. TextMate does have something that helps you learn a lot of them, though. TextMate has tips. If you go to (in the menubar) TextMate > Show Tip of the Day, it will show you today’s tip. You can also have it show you tips on startup too! I personally really like these, because I haven’t even scratched the surface of what TextMate can do.

TextMate, by MacroMates, has so many features that, even if you learn one each day, it would be hard to learn them all. It supports almost every language you can think of, and it is priced at only $62! That is less than a lot of only HTML editors, or only CSS editors! Not only does TextMate have many features, but it is also simple to use. You would think that something with so many features would be impossible to use, but it is not. It only gets complicated when you start to use the very advanced features. With all the features it carries, it is well worth the money!

Comments

23 Responses to “TextMate: The Missing Editor for Mac OS X”

  1. wpGuy on May 9th, 2008 6:47 am

    I’ve been using TextMate since more than a year for website coding, and it rocks!

  2. Nasim on May 9th, 2008 7:02 am

    The thing I like about textmate is unlike vim or emacs it does not force you to memorize the commands to edit text files. It’s so simple to use!

  3. Jimmy Dean on May 9th, 2008 7:21 am

    A textmate article has already been published by MacApper. It’d be nice to see contributers search the site before they started writing. This is disappointing.

  4. Joe Turner on May 9th, 2008 8:12 am

    @Jimmy: There was a two paragraph, very light article a year ago. This isn’t exactly the same thing…

  5. Ian on May 9th, 2008 8:45 am

    @Jimmy: Don’t you have anything better to do?

    How is it you get ‘disappointed’ with an article that has absolutely no bearing on your life other than to make a decision as whether you’ll read it?

    May I suggest you… ahem… get a life?

  6. Derek Fons on May 9th, 2008 9:32 am

    Any one have any news on when TextMate 2 should be coming out? I love the current version, but I am dying to see how they make it better.

  7. Jean-Christophe Helary on May 9th, 2008 9:37 am

    Aquamacs anyone ? Vim ? Why reinvent the wheel in different colors when everything is already here.

    http://aquamacs.org/

    http://macvim.org/OSX/index.php

  8. Derek Fons on May 9th, 2008 9:59 am

    @Jean-Christophe Helary: Like Nasim said above, you don’t have to learn a bunch of commands to get going.

    Any one you introduce to TextMate can start using it right away and then slowly dip in to the wide array of features. Some one can understand how to use it right away. It’s a super easy to use, but has a lot to utilize and expand on.

    I know VIM and Emacs have a lot to offer, but its not that easy to jump into, and they are not as pretty as TextMate, hehe.

  9. Brendon on May 9th, 2008 10:47 am

    have to agree with Jean-Christophe Helary, macvim has a lot of great “mac” features plus you’ve got the power of vim and a ton of vim scripts that make coding a lot easier. But the learning curve is steep, but well worth it.

  10. Dennis on May 9th, 2008 12:09 pm

    TextMate is good, especially its syntax coloring and scope features. But after buying a license and using it on several projects, I’ve switched back to BBEdit. As good as TextMate is, I still think BBEdit is better in many ways. It may be more expensive, but I practically live in my text editor, so the price was worth it for me.

  11. Mason on May 9th, 2008 12:37 pm

    Personally for CSS, HTML and PHP, I like using Coda. I like how you can customize TextMate so much, but still, it doesn’t have a Preview feature or an FTP feature.

  12. Derek Fons on May 9th, 2008 12:43 pm

    @Mason: You can use the dock send feature with Transmit and then uploading files is just a shortcut key. I wish it had its own FTP though. Coda also is nice to keep track of which files to upload.

    There is a preview built into TextMate, but it is a separate Window, which is ok if you have a large monitor or multiple screens. The preview is also live updates while you work.

  13. David on May 9th, 2008 1:05 pm

    Smultron? Free.

  14. Me on May 9th, 2008 5:18 pm

    Agree with David. Smultron… Or Coda for more heavy usage.

  15. Ibrahim on May 10th, 2008 4:19 am

    It doesn’t have auto-complete like skEdit/dreamweaver or I’d buy it right away.

    Auto-complete is on their suggestion list since atleast 6 months, but they’re doing nothing about it, not sure why.

  16. Greg Healy on May 10th, 2008 7:59 am

    TextMate 2 is due out soon, Ibrahim, so I’m sure that auto-complete will be a feature.

  17. Joe Turner on May 10th, 2008 10:00 am

    Auto complete in the new Xcode is very nice, so it will be awesome when TextMate has it!

  18. Nasim on May 10th, 2008 5:36 pm

    Yup, auto-complete FTW.

  19. eric on May 11th, 2008 1:09 am

    sixty two bucks seems a little much for a text editor.

  20. Bruce A on May 13th, 2008 2:31 am

    Well…thinking of TextMate as just a text editor is a little like thinking of a Porsche 911 Turbo as just a car.

  21. Joe Turner on May 13th, 2008 1:07 pm

    So true!

  22. Chad Humphries on July 1st, 2008 9:46 pm

    TextMate 2 has a “Duke Nukem Foreever” release schedule per the developer. Don’t expect it soon.

  23. MacApper » Web-??????????: ??????????? on February 25th, 2009 3:11 am

    [...] text editor for the Mac.  To find out more, check out their site or look at our review here at [...]

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!