Sublime Text is a code editor (Sublime text 2,3 is a paid software, but can be tried indefinitely) and is also an advanced text editor for HTML and prose. Sublime text was developed by the programmer Jon Skinner in January 2008 and was originally designed as a vim with extensive functionality. Support for syntax highlighting in multiple programming languages, excellent Code AutoComplete, and the ability to code snippets (Snippet) to save frequently used code snippets and invoke them whenever needed. Software official website: http://www.sublimetext.com/
The first time you use this editor is because of learning Django contact, feel more fluent, a lot of plug-ins to make the input easier. About its use of all kinds of information on the Internet, I don't say much, here are a few common problems:
1. Install the package Control
Manage plug-ins and make them easy to install, and use this to significantly reduce plug-in installation steps
Use theCtrl + `open Sublime text console. (If you can't open it, click the menu bar->view->show the Console menu item opens)
Copy the following code input
Import Urllib.request,os,hashlib; h ='7183a2d3e96f11eeadd761d777e62404'+'e330c659d4bb41d3bdf022e94cab3cd0'; 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://sublime.wbond.net/'+ Pf.replace (' ','%20'). read (); DH = hashlib.sha256 (by). Hexdigest (); Print'Error validating download (got%s instead of%s), please try manual install'% (DH, h))ifDH! = hElseOpen (Os.path.Join(IPP, PF),'WB').Write(by)
After installation, press Ctrl+shift+p to open the panel input PCIP Select the first option and wait for the installation to complete (there will be an action tip in the lower left corner)
2. Installing plugins via the package control
Press the Ctrl+shift+p key to pop up the window, then enter PCIP, and select the first item to enter.
After the list of remote plug-ins is read, a window pops up, then enter the name of the plugin and select Enter.
3. Common Plugins (official website: https://packagecontrol.io/)
imesupport: Fix a bug that the input box does not follow
Bracket highlighter: code matching, highlighting for easy viewing of start and end tags
JQuery: JQ function hint, fast input JQ function
Docblockr: Generating comments
Jsformat: This plugin can be compressed version of JS automatically formatted
colorpicker: color palette, when you need to enter a color, you can directly select colors
ConvertToUTF8: transcode files into Utf-8, automatically convert to utf-8 format after installing plugins
GBK EncodingSupport: St recognizes Chinese in UTF-8 format, but GBK and ANSI are not recognized, so opening many documents with Chinese characters will be garbled.
Here are just a few basic plug-ins that are commonly used, and there are many handy and powerful plugins available on the website or GitHub.
4. Recommended Use guide
_luc_:http://www.cnblogs.com/figure9/p/sublime-text-complete-guide.html
Sublime Text Usage Notes