A Tale of Three Text Editors
Submitted by moxley on Tue, 2006-02-07 05:18
Eclipse, Emacs, and TextWrangler.
Eclipse is was my main editor. It has full a CVS/Subversion front-end. It displays a navigation view of all the classes functions in the current file I'm working in, whether it be PHP, Java, or Javascript. And it manages and executes custom scripts I write that help with the build and deployment process. No other editor has all these powerful features for under $300. Best of all, it's free. The downside is that it is heavyweight. It takes a while to startup and shutdown, and you always need to decide on a file name and location before you can start editing.
Nothing beats Emacs for quick, efficient editing of small program files. Quickly moving the cursor to a location in the program file involves typing Control-S and typing a few characters that match the spot in the file I want to move to. When I'm done editing that location, I type Control+U+Space to get back to where I was. It's called recursive editing, and it is a very efficient way of editing code. The other feature I like is having the command shell right there in the editor. From there I can still use all the handy navigation shortcuts that are available when editing a file. I always use Emacs in shell mode when I'm about to run a program that has lots of output, like a build process. That way, I can quickly navigate the program's output by typing Control-R and then typing the first few characters of the part of the output I want to read. The directory navigation is a very nice feature. It's usually much better than the "ls" shell command, and you can even create new directories, set permissions and create links all from this single interface. The downside to Emacs is sometimes it's very difficult to get it to behave the way you want, even though somehow, there is always a way to do it. Also, the key combinations are very different than the ones Windows and Mac users are used to.
I recently started using TextWrangler a bit. I needed something lightweight. Something that made easy to just start in on scratch editing, or a place to dump text from the clipboard. Emacs is not very good at either. TextWrangler is a good generic editor, and it has some good features, although I don't use very many of them.
