Sublime Text 3 Installation Plug-in manages the package control

Source: Internet
Author: User

Automatic installation:

1. Open the console via the shortcut key CTRL + ' or View > Show Console Menu

2, paste the corresponding version of the code after the carriage return installation

For Sublime Text 3:

Import urllib.request,os;pf= ' package control.sublime-package '; Ipp=sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); Open (Os.path.join ( IPP,PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 ')). Read ())

For Sublime Text 2:

Import urllib2,os;pf= ' package control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) Ifnotos.path.exists (IPP) Elsenone;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 ());p rint (' Please restart Sublime Text to finish installation ')

manual Installation:1, click Preferences > Browse Packages ... Menu

2. Enter installed packages/directory

3. Download the package control.sublime-package and copy the files to the installed packages/directory

4. Restart Sublime Text

Sublime Text 3 Installation Plug-in manages the 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.