Skip to Content »

FlashApe » Flex Builder vs. TextMate

 Flex Builder vs. TextMate

  • April 16th, 2008
  • 3:19 pm

I was doing a bunch of Flex work for the past few months, and get really comfortable with Flex Builder. There are so many awesome features to aid development it simply kicks ass.

However, my current project is Flash CS3-based, so I went back to TextMate, which I also love. There are many great features in TextMate which eclipse does not do that really make me miss working in it.

My main points of comparison:
TextMate:

  • Perceptual Bulk - TextMate feels so lean, where FlexBuilder just feels so heavy. Probably due to eclipse not being a native mac app, but still, I just feel ‘cleaner’ working in TextMate.
  • Tab Triggers - I can’t count how much typing I’ve saved using tab triggers in TextMate. Type in a few key strokes and hit tab, and some templated code gets placed…with tabstops mixed in so you can simply tab to the next appropriate place to type. I only pray that someone tells me you can do that in eclipse.
  • Column Selection - Another tool of TextMate that i find incredibly timesaving. being able to select a rectangular area of text, and have whatever you type repeated on each of the selected lines, is a blessing. Another thing I wish eclipse would support.

Flex Builder (eclipse):

  • Integrated debugger - That pretty much puts the smack down right there.
  • Code Sense/Code Completion - Another swift backhand. For being such an awesome text editor, why can’t TextMate handle this better? (yes I know about using the escape key for auto-complete, but that’s pretty weak compared to what you get in eclipse).
  • Find in Language Reference - I use this constantly, and as far I know it doesn’t exist in TextMate (for actionscript anyway)

There’s probably a few more but those are what jump out at me. If anyone knows how to get some of the features listed above into the other app, please do tell :)

18 People had this to say...

Gravatar
  • rich
  • April 16th, 2008
  • 3:38 pm

oh yeah, forgot to add the auto-import feature of FlexBuilder. TM has a ‘Remove Unused imports’ feature, i wonder if that can be hacked to do the auto-importing.

Gravatar

Yep, agree 100%.
I wish I had an app with the leanness of TextMate, with those features of Flex Builder.

Gravatar

when you press f3 on a method, it sends you to declaration. I think it’s quite nifty. I also like having been able to have split screens. I know textmate does that too, but It doesn’t make me comfortable as when I am flex builder.

Gravatar
  • rich
  • April 16th, 2008
  • 8:22 pm

yeah, hitting f3 is the same as control-clicking the method name. That’s definitely been useful.

Gravatar

One of the things that TextMate just nails perfectly is copy-pasting. It autoindents your pasted blocks correctly to the level where you insert it. I like my code nicely formatted and I spend just too much time in FB tabbing things to correct place.

Gravatar
  • rich
  • April 17th, 2008
  • 11:46 am

yes! That is another huge timesaver that TextMate pulls off flawlessly, I was really surprised when I saw FB couldn’t handle this. I get so irritated every time i have to reformat my code after a copy and paste.

Gravatar

I too have really been missing TextMate when working in Flex. Then I found that someone has made a TM bundle for both Flex and Actionscript 3.

very nice.

Gravatar
  • Rich
  • June 18th, 2008
  • 1:47 pm

The Flex and Actionscript 3 bundles are located in the review section of the TextMate repository: http://macromates.com/svn/Bundles/trunk/review/bundles/

They work pretty well once you get them pointing to the correct location. You can even get to the Flex/AS3 help docs right there in TextMate by hitting “control + h”. Still haven’t gotten them to build for the latest AIR, though.

Gravatar
  • rob
  • July 17th, 2008
  • 12:44 pm

how the hell do you get to the help docs in flex builder anyways?

Gravatar
  • rich
  • July 18th, 2008
  • 9:14 am

Not sure if it’s the same on windows, but on mac there’s a ‘Help’ menu in the application bar.

Gravatar

I came across this post looking for code complete in Text Mate, looks like I’m a little late to the party. I keep hearing about this escape complete thing, but its just weak in comparison.

TextMate is great, and I love the lean feel and some of the tricks that really speed up your coding. Its a better editor than the one in FB and Eclipse, hands down.

As a development environment its just not there yet though, and has nothing to match the built in debugger of Flex Builder. There are some AIR based debugger tools being built, but they will never have the integration with the editor that FB does. The final nail in the coffin for me is the profiler in Flex Builder. Its like crack, you use it once and you’re addicted. I tried integrating them, but switching back to FB everytime I need to debug or profile is just lame.

Gravatar
  • gene tsai
  • December 19th, 2008
  • 9:01 pm

YES! i love the “content assist” of flex builder - it knows what object you are working with and suggests methods. instead of having to dig through the flex documentation or memorize the ever changing mess of flex components

now if only textmate could have that variable inspector thing

is there a way to “use textmate” as an inline editor in eclipse?

Gravatar
  • rich
  • December 20th, 2008
  • 3:38 pm

gene - no there isn’t. The closest thing you can do that I’ve found is to set TM as the default editor for .as files, then in eclipse, right click on the file and choose ‘open in system editor’…but thats pretty weak.

Gravatar
  • Neil
  • February 15th, 2009
  • 6:51 pm

Well, I know this thread is more about discussing time-saving techniques in either IDE, but if we’re going to be making comparisons between TextMate and Flex Builder, let’s not forget that one of these is one-fifth to one-tenth of the price of the other (depending on which version of FB you buy)! If you’re reading this trying to decide which to ultimately use, that will obviously influence your decision.

Also just the popularity of TextMate alone is an advantage, since users can contribute to the bundles, and maybe they will soon implement some of the missing functionality you’re looking for.

Gravatar
  • rich
  • February 15th, 2009
  • 7:53 pm

Neil - I hear what you’re saying, and I actually prefer TM to FB, but the extra cost of FB is more than made up for by the debugger, in my opinion. The amount of time saved by having the integrated debugger doesn’t even come close to the couple hundred dollar price difference between the two. If only we could integrate that with TM I’d be set.

Eclipse has it’s fair share of community contributions as well…I’ve got a bunch of plugins installed.

Gravatar

I have recently started to use text mate as an editor for actionscript. I have been using textmate before for other project, it’s just fast! I need some advices to use it to its full extend with flash (to be honest I haven’t got my head around the bundle thing yet). Great post, great blog, in my list of subscriptions!
Take care

Gravatar
  • Brew
  • April 14th, 2009
  • 1:22 pm

Has anyone used or tried FDT (http://fdt.powerflasher.com/) from powerflasher ? I am personally totally impressed !

Gravatar
  • ali
  • May 2nd, 2009
  • 12:18 pm

I love using Textmate to code AS3 and have just started looking at FB.

Isn’t it possible to code in Textmate and Debug in Flex Builder?
Simon Gregory’s auto completion in the AS3 bundle for TM sorts the auto completion problem out so I guess that’s the only difference.

Does anyone use this workflow? or maybe it is too slow and inconvenient to switch between the two. I’d be interested to hear your opinions

Thanks for the interesting discussion!

Want your say?

* Required fields. Your e-mail address will not be published on this site


You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>