5 innovations in text editing and IDEs

Text editors and development environments are in dire need of some innovation. We looked around the Web to see if there were any interesting editors out there that were making waves in this area. Here are five innovations that caught our attention.

1. Sublime’s minimap

A screenshot of Sublime's minimap

Sublime's minimap offers code topograph

The Sublime text editor puts a column to the left of your text editing environment which displays a Google Maps-like minimap. For editing huge code files, this is a great way to get an overview of the buildup of your code, especially if you need to jump quickly to your class properties, definitions, or just want to get a feel for the structure of your file. We found that the minimap works best when you’re trying to discipline yourself to keep your files small: large classes in C#, tons of style rules in CSS, and deeply nested HTML become really obvious when the minimap is right there staring at you the whole time. Download Sublime Text Editor for free at http://www.sublimetext.com/

2. 750words.com’s writing analytics

A screenshot of 750words' analytics

750words' analytics can positively affect your writing

750words is a free online service focused on helping you write at least 750 words a day. The idea is that if you write at least that much every day, you both empty out your head and become a better writer over time. Each time you write, 750words’ editor keeps track of your activity, awarding you badges based on your performance and self-discipline. The less time you take to write those 750 words, the better. And if you tab away from the editor, you lose the opportunity to get the “didn’t get distracted” badge. After you’re done writing, the app runs standardised algorithms against your words to discover various analytics like what your mood was while writing. Despite not being part of the editor itself, we felt it was worth mentioning because it makes the act of writing itself fun and rewards you with interesting data once you’re done. What kind of analytics could code editors generate in this fashion? Sign up for an account at 750words.com

3. Zen Coding

The creators of Zen Coding stumbled upon one of those things that make you wonder why you never came up with it yourself: using CSS syntax to write HTML. Here’s an example:

h1+div>p*5

In Zen Coding, that transforms to a h1 followed by a div containing five paragraphs. This new kind of shorthand seems obvious, but using Zen Coding really allows you to pump out some HTML a lot faster than having to type it all by hand. Anyone developing a lot of HTML will immediately see the benefits in doing this over copy-and-pasting blocks of code back and forth, or dragging snippets from side panels in your average IDE. The downside is that you need an editor with some kind of Zen Coding plugin. Fortunately, the Zen Coding creators have taken it upon themselves to create a few of those already. You can download them from the list of zen coding plugins.

4. Firebug’s HTML view

Here’s one you probably already knew about. Firebug allows you to edit the HTML and CSS of the current web page in real time, making it a true design in the browser tool. It also offers various other tools that help you develop a web page, but its HTML and Style views are the ones that innovated on the basic “view source” editor your average browser had back before Firebug came out. Firebug’s impact was such that Webkit and Internet Explorer both scrambled to create their own comparable inspector tools. But neither of them radically reinvented these tools as much as Firebug did. Firebug remains available at http://getfirebug.com

5. Distraction-free editing in WriteRoom

A screenshot of Sublime's distraction-free mode

Distraction free editing in Sublime

Mac users have long had access to WriteRoom, a text editor focused on writing. It was a very simple application that allowed you to work fullscreen with no distractions: writing in WriteRoom, you saw nothing but a black screen and your text. In the modern world of user interfaces polluted by menus, buttons and other assorted UI gadgets, WriteRoom was like going back in time to a simpler age. It’s no wonder it ended up getting ported to PC in the form of Dark Room, and later, as a feature in Sublime.

In conclusion

These five innovations in text editing and IDEs are unique because most mainstream editing environments haven’t copied or integrated them yet. Where’s my Firebug functionality in Dreamweaver’s WYSIWYG view? Why can’t I maximize Visual Studio to get distraction-free editing? How cool would it be if code editors actually had analytics that you could use to improve your writing in meaningful ways over time? Know any other noteworthy text or code editor innovations? Let us know in the comments below!

22 Comments

Ping RSS

  • For distraction-free editing, Ommwriter is another very good choice.

    by solone • May 18th 2010 • 17:05

  • Thanks for the recommendation! Hadn’t seen that one yet.

    by Rahul • May 18th 2010 • 17:05

  • Dude, clean up your code. Wow, just, wow.

    by dude • May 18th 2010 • 17:05

  • It’s auto-indented by our XSLT engine and we haven’t bothered to write script to make it pretty yet. It’s on our list though. Thanks for inspecting it for us, I guess?

    by Rahul • May 18th 2010 • 18:05

  • Code Bubble IDE (http://www.freexenon.com/2010/03/11/code-bubble-ide-for-java-from-brown-university/) might be worth a look.

    I have also seen some university project (sorry, no link) that allows one to enter math notation in code using WYSIWYG environment. Kind of a neat idea from readability point of view.

    I haven’t gotten into Zen Coding yet. I believe it might be more beneficial to adopt a language such as HAML (http://haml-lang.com/) instead. Sure, it’s more verbose than Zen but you can skip the transformation step. :) Compared to pure HTML that seems like a big step ahead to me.

    Sometimes simple ideas like Netbeans’ interactive rename make a world of difference. IDEs still have a long way to go. :)

    by Juho Vepsäläinen • May 18th 2010 • 18:05

  • Funny how minimaps and distraction-free are diametrically opposed.

    by Miggins • May 18th 2010 • 18:05

  • Although it was fairly rare that I had a use-case for it (and rarer still since I don’t develop on windows any more!) that didn’t fall into either a shorter / simpler type of undo & redo or the bigger / complex type of pushing commits to a CVS of some kind, I still really like the E-TextEditor’s “branching undo and redo” Personal Revision Control system. It’s definitely an innovation.

    by Pete Otaqui • May 18th 2010 • 19:05

  • Miggins: Indeed, and good point. It’s nice to see innovation on both sides of the spectrum, though!

    Pete: Sounds cool, I’ll be taking a look at that. Thanks for posting!

    by Rahul • May 18th 2010 • 20:05

  • As for #1, there is an excellent plugin for Visual Studio called rockscroll: http://www.hanselman.com/blog/IntroducingRockScroll.aspx

    It hasn’t been updated in a while, but it has become an essential tool for me.

    by Ian Obermiller • May 18th 2010 • 22:05

  • “Why can’t I maximize Visual Studio to get distraction-free editing?”

    Did you look? ‘Full Screen’ mode is in the View menu of VS, bound by default to Alt-Shift-Enter (rebind it to F11 if you prefer). It’s been there since at least VS2005, I think. Okay, it leaves menus, tabs, and the status bar visible, but all those annoying toolboxes just disappear.

    Combine, in VS2010 at least, with a nice dark window chrome theme, and the dark syntax highlighting view of your choice, and you’ve got a pretty good distraction-free environment.

    by James Hart • May 18th 2010 • 23:05

  • Ian: Thanks for the tip!

    James: yeah, but I don’t really equate fullscreen editing with distraction-free editing entirely. Mainly because, as you said, several elements remain in view and the text doesn’t get centered on screen.

    by Rahul • May 19th 2010 • 01:05

  • @Ian: MetalScroll is a more updated alternative for RockScroll – http://code.google.com/p/metalscroll/

    by Ashutosh • May 19th 2010 • 05:05

  • For distraction-free editing, http://internettypewriter.com/ is a great free, online choice.

    by David Trejo • May 19th 2010 • 06:05

  • David: Awesome.

    by Rahul • May 19th 2010 • 10:05

  • re: WriteRoom, etc.

    clone != port

    by David • May 19th 2010 • 14:05

  • By port, I was referring to the feature, not the application. Sorry for the misunderstanding!

    by Rahul • May 19th 2010 • 14:05

  • Zero-distraction editing (aka full-screen mode) is also available in GNOME’s gedit editor. Just press F11 to switch to/from the standard mode to that mode or select View | Fullscreen from the main menu.

    by Antonio Ognio • May 19th 2010 • 15:05

  • Apologies for plugging my project.

    Scribes is also another non-traditional, ultra-minimal,
    distraction-free text editor for *nix that focuses on
    automation.

    It features, automatic saving, automatic completion,
    zencoding, WriteRoom fullscreen implementation among many
    other nifty features.

    It’s a different text editing experience. Try it out.

    NOTE: Make sure you install it via the directions on the
    website. Do not use your distros package manager!

    http://mystilleef.blogspot.com/2010/04/scribes-50-less-fat.html

    http://scribes.sf.net/

    by mystilleef • May 19th 2010 • 15:05

  • I have used Q10 for a distraction-free notepad. It works similar to WriteRoom. I believe it has a real small footprint as well.

    by Jason Bartholme • May 19th 2010 • 15:05

  • A bit immature yet, but maybe you will like Marave: http://marave.googlecode.com

    by Roberto Alsina • May 19th 2010 • 16:05

  • Distraction Free Editing

    VS does have it, and yes, you can even tweak it to center on screen/etc.

    Really?, the tabs at the top are a distraction?? Really?

    by Mike • May 19th 2010 • 18:05

  • If you want a real editor then try Zeus – http://www.zeusedit.com

    It has great Brief keyboard emulation and anyone who has ever used the original Brief will no there is nothing better!!!!

    by CodeCutter • Nov 22nd 2010 • 23:11

  • Leave a reply