Thursday, May 8, 2008
TextMate is pretty sweet, but...
Thursday, May 8, 2008
I've been hearing a lot of buzz lately around the Mac OS X editor TextMate. On the PC, I'm in love with FlashDevelop and I've really gotten used to the way that it works.So I now have a Mac and PC box at my desk. So I thought I would give TextMate a go instead of the usual FlexBuilder 3 route, just to see if I'd like it enough to go with while coding on the Mac. Because unless FlashDevelop is ported, I'm going to sorely miss it while doing any coding on the Mac.
Well, if you're in Project mode, TextMate rocks pretty good (like using Projects in FlashDevelop... although FD has way more features than TM does so far as I can tell). With a little hacking about you can get CTRL-ENTER to compile.
If you have the standard ActionScript bundle AND the AS3 bundle, I've found the shortcut for Run and Build don't do a whole lot. I should read up some more about that I think.
Three things that makes me pause though when considering using TM instead of FB compared to FD:
- No code completion. When I'm typing up my import statements, I don't get hinting anywhere. If I define classes, etc. I don't have access to the methods within them. This is where FlashDevelop really shines. It makes my coding take a lot less time, because I don't need to flip between classes or revert to my own documentation to remember methods and argument types. It just feels a lot more natural. You're not fighting the code, the editor is serving up a lot of help in weeding through it all.
- When I define my private vars in my class, FD automatically creates the import statements for me. That's a freaking Godsend to me. Again, it just speeds up the mundane crap and lets me worry about getting to the meat of the code.
- Find in TM sucks. It's the standard way of doing things, but the Find in FD (a port of the QuickFind that Alessandro Crugnola authored for us in SE|PY) rocks. It's like the FireFox find... just type into the field and it can either highlight all instances, or simply take you to the first match down from your caret position. You can then just F2 through them all. SUPER handy. In TM I have to open that stupid dialog box, find once, and THEN I can F2 through the matches. Every time I do this, the dialog remains open because I didn't want to click it closed. It's annoying, and I use Find all the time while coding.
I like TextMate a lot so far. I used to use TextWrangler, SubEthaEdit, etc. on the Mac but I think I'll stick with TextMate for a while and see if I can find out some more shortcuts, tricks, etc. to really get rolling with it. It took me a little while using FlashDevelop on the PC before I was completely smitten with it.
Maybe I just need a few more dates with TextMate before making a decision between it and FlexBuilder.
Or I hear FlashDevelop has been ported to a Universal Binary ;)
Comments:
There are currently 8 Comments:
-
Peter Witham said...“I am curious as to which ActionScript 3 bundle you are using with TextMate? This is the only thing that has prevented me from using it in any serious way for Flash/Flex coding.
Great write up though, we seem to only have a few options on the Mac for AS coding, always nice to hear what others are using.
Regards,
Peter Witham”



