Sublime Text 2 installation Sublime Package Control

Source: Internet
Author: User

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.

    1. Open the Preferences menu and choose Browse Packages ...

    2. The system opens the sublime Text 2 packages folder, goes back to the previous level menu, and then opens the installed Packages folder

    3. Download and copy the downloaded package control.sublime-package to the installed Packages folder (Note that this is installed Packages, not the Packages folder)

    4. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.