Home > open-source, PlanetCDOT, PlanetESJS, programming > Why Sublime Text Is The Best Part Of My Day

Why Sublime Text Is The Best Part Of My Day

Aside from the sad fact that the above statement is absolutely true, Sublime Text really is quite (I humbly apologize) *sublime*. I was introduced to sublime by a co-worker at a point in time when the team at CDOT was looking for a good Javascript text editor. Now at first glance, sublime already looks a little different from other text editors.

For one, it has a minimap! If you’ve ever played a real time strategy game, you will be familiar with the concept of a minimap. If you haven’t the faintest idea what I’m talking about, a minimap is basically a small overview in which the game is typically rendered from bird’s eye view. In sublime, the same concept is applied to the text file being edited; a long overview of the file is placed to the right of the screen beside the vertical scroll bar. It’s such a slick concept! Keep in mind that the preview is fully syntax high-lighted, why don’t more editors do this! This is the biggest visual difference that sublime has from other editors.

What really makes sublime shine is its autocomplete engine, or there lack of. You see, sublime does NOT parse your files and build a tree in memory like intellisense; it simply looks over the current file, finds words that resemble the one that you are typing and suggests those words to you. For Javascript and other scripting languages, this is far better than what most other IDEs can offer. Even better, the list is clever enough to get out of your way when you don’t want a suggestion.

At the end of the day, it is this… niceness that I appreciate about sublime. It is a very concise, very small and very effective editor that gets the job done quickly and painlessly. Its settings files are all simple python. In fact, the whole thing is written in python. It has keyboard shortcuts for controlling how many tab groups you want in the current window. It has awesome regex support and a great search/replace tool (search results are shown in a file buffer in a file tab, like any other file). It has a slick project view/file tree and it also comes with a host of colour schemes; my favourite being a beautiful light text against dark background theme called Monokai that is on by default. Honestly, that scheme was almost enough to get me to switch to sublime immediately.

I’ve said enough about this wonderful text editor, TRY IT! http://www.sublimetext.com/

  1. zach
    September 14, 2012 at 2:56 pm

    Actually, ST2 is written in C++, but its plugins are compiled python. All of the config files are easy-to-use JSON format.

    • northwind87
      September 14, 2012 at 3:09 pm

      Ahhh I never realized, I always assumed that it was compiled python. On further examination, the presence of msvcr90.dll is confirmation of what you are suggesting 🙂

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: