10 Things I Love About Sublime Text 2.
I've recently fallen in love with a new text editor for all my coding needs - Sublime Text 2. Here are 10 things I love about Sublime Text 2:
- ST2 doesn't make me set up projects; I can just edit the file I need. But if you need to manage code projects, ST2 can do it.
- The mini-map. No more scroll-scroll-scroll to get to one section in the super-long file. Just click the appropriate section in the Minimap (on the far right side) and ST2 scrolls right there.
- Control + / to comment the currently selected text. (Or un-comment it, if it's is commented.) If nothing is selected, it comments / uncomments the current line of code. It's context-sensitive - HMTL, CSS and JS all get the right comments.
- ST2's code folding is similar to Dreamweaver's code collapsing, but there's more. When text is selected, press Control + Shift + [ to fold that block of code out of view. Use Control + Shift + ] to unfold.
- When you mouse over the line numbers (in the gutter, little triangles appear for each element. Click that triangle to fold the whole element.
- No more using the mouse to select lines of text - Control + L will select the current line. (Subsequent presses of L while holding Control will select lines further down.)
- Control + Shift + A will select the contents of the current tag. Use again to select the whole tag.
- It's fast - super fast. There's no splash screen and no loading time, even on my poor old Macbook Air.
- F6 to enable / disable spell check. Sometimes you want it, sometimes you don't.
- ST2 has a very user friendly license. You can download a trial-version (nags are the only thing it does). If you buy, you the individual can install your copy on any of your machines - work PC, home PC, laptop, whatever. You also get to use any version of ST2 - it's available for Windows, OSX, and Linux.
Tags: sublime-text tooling web-development