Essential Sublime Text 2 Plugins and Extensions
Essential Sublime Text 2 Plugins and Extensions
Tutorial Details
- Editor: Sublime Text 2
- Availability: OSX, Linux, Windows
Sublime Text 2 is a relatively new code editor that I've been trying out for a while now. While it's still in public beta, it already offers a great mix of features and performance that has convinced me to switch from my trusted Komodo.
While I really do love the features available out of the box, as with most things in life, there is always room for more. With Sublime Text 2 being as extensible as it is, a big ecosystem has sprouted around it, catering to most of your web development needs, be they actually useful or catering to your whimsy. To that effect, today I'd like to share some of the plugins and extensions that I've found quite useful. While not all of them may appeal to you, I'm sure you'll a find a gem or two that will absolutely ease your workflow!
Zen Coding
Zen Coding is an editor plugin for high-speed HTML coding and editing. The core of this plugin is a powerful abbreviation engine which allows you to expand expressions—similar to CSS selectors—into HTML code.
JQuery Package for Sublime Text
And where will all us be without jQuery? This is a Sublime Text bundle to help with jQuery functions.
Sublime Prefixr
A plugin that runs CSS through the Prefixr API, written by our very own Jeffrey Way, for Sublime Text 2.
JS Format
JsFormat is a javascipt formatting plugin for Sublime Text 2. It uses the commandline/python-module javascript formatter from JS Beautifier to format the selected text, or the entire file if there is no selection.
SublimeLinter
SublimeLinter is a plugin that supports "lint" programs (known as "linters"). SublimeLinter highlights lines of code the linter deems to contain (potential) errors. It also supports highlighting special annotations so that they can be quickly located.
Placeholders
I always find inserting placeholder, or filler, content to be a quite tedious affair. With this plugin, you can insert placeholder content and HTML in a cinch!
Sublime Alignment
I'm quite a stickler for properly formatted code. One thing to get right is lining up all those darn variable assignment so they look all organized and neat. With this plugin, all it takes is the press of key. A simple key-binding allows you align multi-line and multiple selections.
Clipboard History
Tired of having to swap out your clipboard's contents during a marathon hackathon? Keep a history of your clipboard items with this plugin and paste away as needed.
SublimeREPL
SublimeREPL lets you run your favorite interpreter inside a Sublime buffer. Languages supported include Python and Ruby.
DetectSyntax
DetectSyntax is a plugin for Sublime Text 2 that allows you to detect the syntax of files that might not otherwise be detected properly. This is specially helpful when you run into custom file formats — files used in templating is an excellent example.
Nettuts Fetch
This plugin automatically pulls in the latest copy of a file, simply by typing a keyboard shortcut. It'll perform a curl request to your specified URL and allow you to rest assured that, for all new projects, you're using the latest copy of a particular asset.
JsMinifier
It's a good practice to always minify your files during deploying to a production server. And this plugin will swiftly automate the process by minifying your JavaScript using the Google Closure compiler.
Sublime CodeIntel
SublimeCodeIntel is a code intelligence plugin ported from Open Komodo Editor to Sublime Text 2. It shows autocomplete information with the available modules in real time as well as display information about the current function in the status bar. Nifty!
Tag
This is a great plugin when you're working with a lot of markup. Tag is a collection of packages about, predictably, tags, mixed together in an effort to provide a single package with utilities to work with tags. Close a tag on a slash and tag indenting? Sign me up!
Bracket Highlighter
This plugin collection includes plugins to fold your code according to brackts, cycle through selecting tags and many more.
Case Conversion
Have a messy co-worker who completely ignores naming conventions? This plugin should save you a good chunk of time. Case conversions converts the current word between three of the most commonly used conventions.
Stackoverflow Search
StackOverflow is an absolute life saver — I can't count the sheer number of times it has saved my skin. This plugin lets you do a search on SO directly from your editor.
Sublime Guard
Remember Jeffrey using a gem called Guard in his super useful Rails tutorial? Well, this plugin provides a seamless interface for controlling Guard and viewing Guard output within Sublime Text 2.
Git
A nifty little plugin that integrates Git and Sublime Text and implements most of the commands that you'd use in real life. Diff viewing inside ST2 is a great time saver!
Sublime Change Quotes
This is one for the OCD among us. This plugin converts single to double or double to single quotes whilst attempting to preserve correct escaping.
Hex to HSL
Tired of constantly having to manually convert your colors' hexcodes to HSL? This plugin will automatically do it for you with the press of a button. Well, ok, three buttons. [Shift+Ctrl+U]
Source: http://net.tutsplus.com/tutorials/tools-and-tips/essential-sublime-text-2-plugins-and-extensions/