Wednesday, September 4, 2013

A better text editor? (Sublime Text 2)

During my jQuery studies I came across an interesting text editor called Sublime Text 2. As the author of the jQuery book highly recommended it, I took a closer look.

It is available for download here:

It seems quite nice as it is out of the box, but a few plugins really cached my attention:

Package Control
Install instructions here:
After install and a restart, you can install plugins by pressing ctrl + shift + p, then typing install and pressing enter. don't forget to restart before using the new plugin, though I'm not sure it's neccessary.

This plugin helps finding errors in your code. If you are using ubuntu and want to validate php and javascript, you need to install these packages in the terminal too:

sudo apt-get install php5-cli nodejs nodejs-legacy

After a restart, press ctrl + shift + p, and type lint. Among other choices you will find the show error list option.

Bracket Highlighter
This is exactly what it sounds like...

As the name suggests, this enchances the sidebar with some folder functionality...

Sublime CodeIntel
Auto code-completion and other extras.