1. Sublime Text Tool Introduction:
Sublime text is a code editor (Sublime text 2 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.
Sublime text has a beautiful user interface and powerful features such as code thumbnails, Python plugins, code snippets, and more. You can also customize key bindings, menus, and toolbars. The main features of Sublime Text include: Spell checker, bookmarks, full Python API, Goto feature, instant item switching, multiple selection, multiple windows, and more. Sublime Text is a cross-platform editor that supports operating systems such as Windows, Linux, Mac os X.
2. Install sublime Text
Download Address: Https://www.sublimetext.com/3
3. Chinese sublime Text
Open Sublime Text 3>
Press CTRL + ' bring up the console (note: There is a conflict between the keyboard shortcuts installed QQ Input method, Input Method property settings-Input Method management-Cancel Hotkey switch to QQ pinyin)
Paste the following code into the bottom command line and 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 ())
Restart Sublime Text 3.
If you see the package control item in Perferences->package settings, the installation succeeds.
Below is sublime Text 2. The installation method is the same as the code for the package control.
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 ')
To install a plugin using the package control method:
> Press Ctrl+shift+p to bring up the command panel
> enter install to bring up the Install Package option and enter, then select the plugin to install in the list
Then in the popup command screen, enter Chinese, select chineselocalization (carriage return or mouse click).