First, install the package Control
Using Sublime Text2 is the first thing you need to install the package Control so that you can use the rich plug-in packages
There are 2 methods of installation:
(1) Visit the Package control site and follow the prompts to copy a Python command to install the
You can also copy this section directly to the console (ctrl+~)
[python] view plain copy 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 ' Restart Sublime Text to finish installation ' (2) Download the package control plug-in to the plug-in directory
The plugin directory opens in the menu Preference--browse Packages, without creating a new
Second, install the plug-in
Sublime Text2 has a lot of good plug-ins, install the package Control can be installed easily after the plug-in
Ctrl+shift+p (Win) or command+shift+p (MAC) to bring up the control Panel,
Common commands Install the package (install extension), List Packages (list all extensions), remove package (remove extension), Upgrade (upgrade extension)