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