Sublime Text 2 Installs the Sublime package control, installs, upgrades, and uninstalls the assembly through Sublime.
How to install the package Control:
1, open Sublime Text 2, press Control + ' bring up the Console, usually this shortcut will conflict with other software on the PC, need to modify the other software shortcuts.
2. Paste the following code into the command line and enter:
Import urllib2,os;pf= ' package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) if Not os.path.exists (IPP) Else None;open (Os.path.join (IPP,PF), ' WB '). Write (Urllib2.urlopen (' Http://sublime.wbond.net /' +pf.replace (', '%20 '). Read ())
3, restart Sublime Text 2, if you see the package control in Preferences----settings, the installation is successful.
===========================
To manually install the package Control method:
If the method does not install correctly, you can also install it directly by copying the file. Manual installation may be required if sublime text 2 is installed in a Chinese-language path, or if the system path contains%username% characters.
Open the Preferences menu and choose Browse Packages ...
The system opens the sublime Text 2 packages folder, goes back to the previous level menu, and then opens the installed Packages folder
Download and copy the downloaded package control.sublime-package to the installed Packages folder (Note that this is installed Packages, not the Packages folder)
Restart Sublime Text 2
===================================
Zen Coding is a god horse I will not introduce, the following directly how to install the sublime Text2 in the Zen coding plugin:
1, through the previous article for sublime Text2 install the package Control.
2, after the installation of the package control, through the shortcut key [ctrl+shift+p] call command Palette, and then enter install, bring up the control, and then find Zen coding, enter.
Restart Sublime Text 2, and then create a new HTML page to enter your familiar Zen coding shortcut keys to try!
Not successful, to find the reason
Sublime Text 2 installs sublime package Control