TextMate, the 21st Century and Large Files

Stefan - 21. Juli 2007

During my windows days I’ve always been a big fan of Ultraedit. Especially its capability to deal with large files was very pleasant. On my Macs I’ve been trying Smultron, Textwrangler and of course Textmate. The latter being the one I chose as my daily editor.

While Textmate is really a neat piece of software and has many useful features, I often miss the way Ultraedit deals with large files. Today I accidently clicked on a log file in my project drawer, which caused Textmate to stall. Out of curiosity I restarted Textmate and tried to open that log file on its own, now Textmate asked me:

Opening Large File
The file “xyz.log” has a size of 21.7 MB. Are you sure you want to load this as a text file?

My MacBook has 1 GB of RAM; according to MenuMeters more than 640 MB of it being unused. And my text editor, who wants code and markup bring to the 21st century, asks me if I really want to open a file as small as 21 MB? Or, even worse, stalls if I’m making one false click!

I also tried to open this gigantic file with Smultron. Smultron opens it without further ado, but scrolling or even editing the file is as lame as it is with Textmate. Of course the “natural” way to deal with such files are the Unix tools vi or less. But being in the 21st century I’d expect that a text editor should be able to open a 21 MB file.

Update (July 2009): IDM Computer Solutions, the manufacturer of Ultraedit have announced, that a Mac (as well as a Linux) version of Ultraedit is “coming soon”.

Abgelegt in: Apple Mac

6 Kommentare:

What about that!

I opened a 4MB SQL file and Textmate become like a slow motion misery worth to mention that all this happened on my fast macbook pro with 2gb of ram!!!

now I might use vi for that sql file :-(

One year later still no alternative around? I have a 250MB yaml-file around to wrangle and all – Coda, Textmate, Komodo but vi are failing… unbelievable…

This is one reason I’ve switched back to Windows for my day-to-day work. It’s sad, though.

Espresso seems to handle large files very well.

It seems that not just the file-size but the length of a single line makes it stall. The 4MB SQL file probably has a very long line in it, making textmate dead slow. I eperienced this a few times now…

My philosophy: textmate for most stuff, macvim if there’s some problem.

Macvim is pretty cool. Cmd-s, cmd-z, and all of the other mac shortcuts work. plus it’s vim, so all of that stuff works too. Really the best of both worlds. And of course vim will open files of infinite size without hesitation.

Schreibe einen Kommentar
benötigt (wird nicht angezeigt)