Sublime Package Control

If you’re a developer that uses Sublime as your editor, you need to know about the Sublime Package Control. The Sublime Package Control is an awesome little package that integrates with Sublime and allows you to easily install and manage other packages.

To install Sublime Package Control, just hit Ctrl + ` to bring up the console and paste in the following snippet:

import urllib2,os; pf=’Package Control.sublime-package’; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),’wb’).write(urllib2.urlopen(‘http://sublime.wbond.net/’+pf.replace(‘ ‘,’%20’)).read()); print(‘Please restart Sublime Text to finish installation’)

Restart Sublime and then you can run the Package Control: Install Package helper and it will give you a list of packages that you can install.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s