Sublime Text 3 plug-in installation

Source: Internet
Author: User

1,package Control.   We use sublime almost will first install this plug-in, this plug-in is the function of the management plug-in, first install it, and then install the other plug-in is convenient. Installation method:
Click the Sublime menu bar view->show Console, now open the console, this console has two columns, the above column will show real-time sublime executed what plug-in, output execution results, if you install a plug-in does not work properly, Should be here first to see if there is an error. The following column is an input box that allows you to run Python code. We enter the following code click Enter to run, you can install the package control.

import urllib.request,os,hashlib; h =   ' eb2297e1a458f27d836c04bb0cbaf282 '  +  ' d0e7a3098092775ccb37ca9d6b2e4b7d '; pf =  ' Package control.sublime-package ';  ipp = sublime.installed_packages_path ();  Urllib.request.install_opener ( urllib.request.build_opener ( urllib.request.proxyhandler ())  );  by = urllib.request.urlopen (  ' http://packagecontrol.io/'  + pf.replace ('   '),   '%20 '). read ();  dh = hashlib.sha256 (by). Hexdigest ();  print (' Error validating  download  (got %s instead of %s),  please try manual install '  %  (dh, h)  if dh != h else open (Os.path.join ( IPP, PF) ,  ' WB '  ). Write (by) 

then we hold the ctrl+shift+p.  An input box is output and the install is entered. Select Package Contrl:install the package to enter, you need to set a little bit, the lower right corner of the status bar will display the text being connected. When using sublime, look at the lower right corner of the status bar, a lot of plug-in information is displayed here, the status bar is very small, the first use of people may not notice it.
    
       

after a while, it will appear a plugin list, you can also enter text in the input box to search the plugin. Search for the plugin you want to install, then select it and enter. It will be installed automatically for you.

If you want to uninstall the plugin, ctrl+shift+p enter remove, select the package Control:remove and then select the installed plugin, enter to uninstall.

if the package control fails to install the plugin, we can use the manual installation method, search for plugins on google, download the source code of the plugin.  On the Sublime menu bar, click Preferences->browse Package. The plug-in directory opens. Then you can copy the plugin source code you downloaded.

ctrl+shift+p What is the input box panel open? English is called "anything panel", any operation can be done in this panel. For the moment, I translate it into a "universal panel".  There are several ways to open the universal panel.
when Ctrl+shift+p opens, we need to enter a command in the panel and execute the command. All menu bars can be manipulated by entering commands here.
when Ctrl+p is turned on, it can quickly find files.
when Ctrl+r is open, it can find functions in the current file.
when the ctrl+g is open, it can jump to the specified line.

everyone began to contact sublime when it is not very familiar with the environment, all I say here a little more, a simple summary of the previous said.

The role of the console: You can execute Python code here, and see some of the execution results, if the plug-in is not working properly, you can check here to see if there is an error.
lower-right status bar: Many of the tips are displayed there, so be careful to check them frequently.
Universal panel: All the operations can be done here, you can enter the command here, you can find the file here, you can find the function here and so on.
How to install the plug-in: In addition to the package control installation can also be installed manually.

Sublime Text 3 plug-in installation

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.