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:
http://www.sublimetext.com/2

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

Package Control
Install instructions here: https://sublime.wbond.net/installation#st2
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.

SublimeLinter
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...

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

Sublime CodeIntel
Auto code-completion and other extras.