Sublime Text 3 Plugin

Source: Internet
Author: User
Tags sublime text

installing using the Package control component

You can also install the package control component and install it directly online:

      1. 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)
      2. Paste the following code into the bottom command line and enter:
1 importurllib.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())

    1. Restart Sublime Text 3.
    2. If you see the package control item in Perferences->package settings, the installation succeeds.

Code for Sublime TEXT2

1 importurllib2,os; pf=‘Package Control.sublime-package‘; ipp =sublime.installed_packages_path(); os.makedirs( ipp ) ifnotos.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‘Please restart Sublime Text to finish installation‘)

to install a plugin using the package control method:

    1. Press Ctrl+shift+p to bring up the command panel
    2. Enter install to bring up the Install Package option and enter, then select the plug-in you want to install in the list.

Thank you: http://www.cnblogs.com/Rising/p/3741116.html

Sublime Text 3 Plugin

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.