Sublime Text 3 Install the package Control

Source: Internet
Author: User
Tags sublime text

Key

-----BEGIN LICENSE-----

Andrew Weber
Single User License
ea7e-855605
813A03DD 5e4ad9e6 6c0eeb94 bc99798f
942194A6 02396E98 e62c9979 4bb979fe
91424c9d A45400BF f6747d88 2fb88078
90f5cc94 1CDC92DC 8457107A f151657b
1d22e383 a997f016 42397640 33F41CFC
E1d0ae85 a0bbd039 0e9c8d55 e1b89d5d
5cdb7036 e56de1c0 EFCC0840 650cd3a6
b98fc99c 8fac73ee d2b95564 DF450523

------END LICENSE------

The original SUBL3 installation of the package control is very troublesome, now the simple way to

First, simple installation method

To use CTRL + ' shortcut keys or open the command line from the View->show console menu, paste the following code:

importurllib.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())

If it goes well, you can now see the package settings and the package control two menus under the Preferences menu.

By the way, put sublime Text2 code:

importurllib2,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()); print( ‘Please restart Sublime Text to finish installation‘)

Second, manual Installation

You may not be able to use code installation for a variety of reasons, and you can manually install the package Control by using the following steps:

1. Click Preferences > Browse Packages Menu

2. Go to the upper-level directory of the Open directory before entering the installed packages/directory

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

4. Restart Sublime Text.

Reference:

Https://sublime.wbond.net/installation#st3

Sublime Text 3 Install 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.