21

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!

21 Comment(s)

Legend: Guest Article Author Contributor
  • 1

    wpGuy said on

    May 9th, 2008 at 6:47 am

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

     Add karma Subtract karma  +0
  • 2

    Nasim said on

    May 9th, 2008 at 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!

     Add karma Subtract karma  +0
  • 3

    Jimmy Dean said on

    May 9th, 2008 at 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.

     Add karma Subtract karma  -8
  • 4

    Joe Turner said on

    May 9th, 2008 at 8:12 am

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

     Add karma Subtract karma  +2
  • 5

    Ian said on

    May 9th, 2008 at 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?

    (subscribed to comments)  Add karma Subtract karma  +3
  • 6

    Derek Fons said on

    May 9th, 2008 at 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.

    (subscribed to comments)  Add karma Subtract karma  +0
  • 7

    Jean-Christophe Helary said on

    May 9th, 2008 at 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

     Add karma Subtract karma  +0
  • 8

    Derek Fons said on

    May 9th, 2008 at 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.

    (subscribed to comments)  Add karma Subtract karma  +0
  • 9

    Brendon said on

    May 9th, 2008 at 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.

     Add karma Subtract karma  +0
  • 10

    Dennis said on

    May 9th, 2008 at 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.

     Add karma Subtract karma  +0
  • 11

    Mason said on

    May 9th, 2008 at 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.

     Add karma Subtract karma  +1
  • 12

    Derek Fons said on

    May 9th, 2008 at 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.

    (subscribed to comments)  Add karma Subtract karma  +0
  • 13

    David said on

    May 9th, 2008 at 1:05 pm

    Smultron? Free.

     Add karma Subtract karma  +2
  • 14

    Me said on

    May 9th, 2008 at 5:18 pm

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

     Add karma Subtract karma  +0
  • 15

    Ibrahim said on

    May 10th, 2008 at 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.

     Add karma Subtract karma  +0
  • 16

    Greg Healy said on

    May 10th, 2008 at 7:59 am

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

     Add karma Subtract karma  +0
  • 17

    Joe Turner said on

    May 10th, 2008 at 10:00 am

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

     Add karma Subtract karma  +0
  • 18

    Nasim said on

    May 10th, 2008 at 5:36 pm

    Yup, auto-complete FTW.

     Add karma Subtract karma  +0
  • 19

    eric said on

    May 11th, 2008 at 1:09 am

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

     Add karma Subtract karma  +0
  • 20

    Bruce A said on

    May 13th, 2008 at 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.

     Add karma Subtract karma  +0
  • 21

    Joe Turner said on

    May 13th, 2008 at 1:07 pm

    So true!

     Add karma Subtract karma  +0
  • More at MacApper

    • Discuss 'TextMate: The Missing Editor for Mac OS X' in our new Mac Forums

    Post a Comment


    Post your comment below (spam filtered)