"Install sublime Text 3 Chinese plugin"

Source: Internet
Author: User
Tags sublime text
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).







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.