Sublime Text 3 Install Ctags, support function jump, install CONVERTTOUTF8 support Chinese steps

Source: Internet
Author: User

Sublime text x is a very good editor, but a variety of plug-ins need to install themselves, sometimes a bit inconvenient, especially when they do not know how to install the time. Often used in development, function jumps, is a more difficult to install things, recorded as follows (System for Windows):

1, online download ctags.exe, put into C:\windows\system32;

2, under Sumblime command line, (Ctrl + ' or view > Show console), execute the following command: 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 '

3. Open the Sublime Control Panel, (Ctrl+shift+p or Preferences > Package control), enter: Install, and then enter ctags, installation ctags;

4, right-click in the project folder, Ctags:rebuildtags, ready to work finished. In the function where you need to jump, right-click > navigate to Defination, fix it.

GBK developed the file garbled, installation ConvertToUtf8

1. Under the sublime command line (ctrl+shift+p or Preferences > Package control), execute the command as follows: 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 ())

2. Execute in Control Panel (ctrl+shift+p or Preferences > Package control), Input: Install package, restart Sublime, enter: ConvertToUtf8, done, Open the file again, there is no garbled, you can also install the GBK Encoding support plugin.

Sublime use is familiar with various plug-ins, so as to be handy!

Sublime Text 3 Install Ctags, support function jump, install CONVERTTOUTF8 support Chinese steps

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.