Home > Development Tools > sublime > body text

How to install Package control component in Sublime

藏色散人
Release: 2020-10-21 10:46:41
Original
56498 people have browsed it

This article mainly introduces How to install the Package control component in Sublime.

So in the previous article, I have introduced to you how to install Sublime.

Package Control is the Sublime Text package manager. It contains a list of over 2,500 packages available for installation, and users can add any GitHub or BitBucket repository themselves. To put it simply, sublime can only install various plug-ins after installing the Package control component.

Sublime has two ways to install the Package control component:

The first method:

Open the sublime interface and press Ctrl shift Pkey combination, and then you can bring up the following interface:

How to install Package control component in Sublime

Search and select the second option install package control, and then click directly.

After installation, the following prompt message will appear, click OK.

How to install Package control component in Sublime

Finally, when you see the following components displayed, it means the component installation is successful.

How to install Package control component in Sublime

Second method:

Open the sublime interface and press Ctrl ` (This symbol is tab Press the key combination above) to bring up the command line.

Then paste the following code into the command line and press Enter:

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())
Copy after login

How to install Package control component in Sublime

Then wait patiently for installation.

How to install Package control component in Sublime

#Similarly, if we see the following options, it means that the Package control component is installed successfully.

How to install Package control component in Sublime

This article is about the two methods of sublime installing the Package control component. You can choose which method to install according to your own needs. Currently, no matter Both installations are very simple. I hope this article will be helpful to friends in need!

The above is the detailed content of How to install Package control component in Sublime. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template