Installing the Package Control plugin for Sublime Text
Package Control + Sublime Text = where has this been all my life?
I wrote previously how I’ve given up on Notepad++ . It’s time to find a new editor. But this new editor has to be great. Not just “good”, or “okay”, or “decent” but great. We’re talking Sean Connery as Bond great.
Which means its replacement has to do a lot of heavy lifting in the syntax coloring and language features area. And with its really amazing plugin framework and one particularly awesome plugin, Sublime Text has no equal.
Enter Package Control
Package Control is a plugin for sublime text written by Will Bond, who has an awesome collection of plugins on his site. Will has instructions on how to install Package Control on his website. It’s pretty easy, just copy and paste some python text into the SublimeText console, restart the editor and you’re off and running!
Installing your first plugin
Installing a plugin is insanely simple. Use the key combination
ctrl+shift+p, this will bring up the command palette window. From here you just type in “Package Control:” and you will see a listing similar to the screenshot below.
See that text “Install Package”…? Yeah, select that (you can click it or use the arrow keys) and PackageControl will start fetching the list of plugins from the current list of repositories.
You can add repositories to this list by following the directions on the Package Control website but it has a bunch of plugins included by default.
Once the list of plugins is retrieved it will be displayed in the same way the command palette was and you can filter the items by typing.
I wanted a ruby test runner so I typed in “Ruby” and I saw a plugin named “RubyTest”. I pressed enter and about 30 seconds later the plugin was installed. No need to restart SublimeText!
Extensibility is something a lot of applications brag about (Microsoft Office, Notepad++) but only a few truly deliver on that. Sublime Text is one of those applications. Sublime Text takes the same approach to plugins that FireFox did. If you can think it, you can do it.