Sublime text how to install plugins

Source: Internet
Author: User

The first is to install the plug-in manager, about the installation method, the author on the website has said very detailed, Https://sublime.wbond.net/installation#st2

(a) Simple installation method

1. Press the shortcut key CTRL + ' (the first of the next line keys of the ESC key) or open from the menu View->show console (View-control Panel).

2. Copy the following code in Sublime Text 2 to enter execution

Import Urllib2,os; Pf= ' Package control.sublime-package '; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP) if not os.path.exists (IPP) else None; 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 (' Restart Sublime Text to finish installation ')

If it is sublime Text 3, you need to copy the following code and then enter to execute

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

When you see prompt restart (restart) to complete the installation of the plugin manager, restart sublime text.

(b), manual installation method

1. Download the package Control.sublime-package plug-in Manager's installation files.

2, open the sublime text configuration directory, you can from Preferences > browse Packages (set up, browse the resource bundle), and copy the downloaded installation file package to the installed packages/directory.

3. Restart sublime text to complete the installation.

How do I see if the sublime Text plugin Manager is installed successfully?

Just look at the menu preferences (set) there is no package control this menu item.

Next Sublime text installation plug-in method is very simple, as long as the plug-in Manager installed, install plug-ins are the same steps

1, ctrl+shift+p Open the command panel, enter Install, select the package Control:install the package, this will be a pause, at this time in the Update plugin list information.

2, the previous step completed, will be listed in the drop-down box a lot of plug-ins, then you only need to enter keywords, find the target plug-in, select and enter the installation.

Sublime text how to install plugins

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.