Easily Discover And Install Plugins In Sublime Text 2 With Sublime Package Control

10:32 PM


Sublime Text 2 is an excellent TextMate-like text editor that runs on Linux, Windows and Mac OSX.

If you like Sublime Text 2, you'll love Sublime Package Control, a cross-platform package manager that lets you easily discover, install and update various packages (plugins) for Sublime Text 2

Here are some of the plugins that you can install using Sublime Package Control: GIT, Mercurial or SFTP/FTP support, CSS Less (code folding and nesting for CSS), GoTo Recent, HeX viewer and editor, jQuery snippets pack, Vim / Emacs like modelines, SCSS bundle, Open Terminal, JSLint, PowerShell Utils, LaTeX Tools, HTML5 bundle, Zen Coding and many others. 

Sublime Package Control install and updates the packages via GitHub or BitBucket and the update is done through Git and Hg. Any installed package can be enabled or disabled, you can add custom repositories, create your own packages, etc.


If you haven't tried Sublime Text 2 yet, download it from here. If you use Ubuntu, there is a PPA you can use to stay up to date with the latest Sublime Text 2 development builds (a new version is usually released every few days) and get it to integrate with the desktop. Sublime Text 2 is not free, but you can evaluate it for an unlimited amount of time.

To install Sublime Package Control, open Sublime Text 2, press ctrl+` (` is the character next to 1) and paste this:
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'



Once installed, restart Sublime Text 2 and press CTRL + SHIFT + P. This should open the Command Pallete which lets you run various Sublime Package Control commands (the Sublime Package Control commands start with "Package Control"); to get started, click on "Package Control - Install Package" and install some plugins you want to use with your Sublime Text 2 installation.


Sublime Package Control homepage

via Lucas Rocha @ Google+

0 comments:

Post a Comment