Encoding Artifact Sublime Text Package management tool and extension Daquan

Source: Internet
Author: User



Sublime Text is the programmer's recognized coding magic, with a beautiful user interface and powerful features, such as code thumbnails, multiple choices, shortcut commands and so on. You can also customize key bindings, menus, and toolbars. The main features of Sublime Text include: spell checking, bookmarks, instant item switching, multiple selection, multiple windows, and more.



More importantly, Sublime Text is easy to expand, and many developers contribute plugins, and--package control through the package management tool can be easily installed and managed. This shared site (https://sublime.wbond.net/) is a collection of sublime Text plugins compiled by the author of the package Control, and the front-end development of migrant workers will no longer have to go online one after another. Collect it quickly.









Package Control Installation Method



First open the console with the shortcut key Ctrl + ' or View > Show console, and then paste the appropriate Python installation code.



Sublime Text 2 Installation code:



importurllib2,os;pf=‘Package Control.sublime-package‘;ipp =sublime.installed_packages_path();os.makedirs( ipp ) ifnotos.path.exists(ipp) elseNone;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‘)





Sublime Text 3 Installation code:



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())





Common Extension Recommendations


    1. emmet-- Emmet officially provided by the Sublime Text extension;
    2. Sublime? Linter-code Check plugin, support HTML, CSS, JS, PHP, Java, C + + and other 16 languages;
    3. HTML5--html5 bundle for Sublime Text 2;
    4. alignment-- Code alignment plug-in;
    5. bracket? highlighter-- brackets Highlight match;
    6. git-- plug-ins that integrate GIT functionality;
    7. jQuery--code Smart Tips plugin;
    8. less-- less code highlighting plugin;
    9. Js? format--JavaScript code format plugin;
    10. tag-- Html/xml label indentation, completion and calibration;
    11. livereload-- Let the page refresh instantly;
    12. Pretty json-- JSON landscaping extension;
    13. Can I use-- Query the compatibility of CSS properties;
    14. Coffee? script--Coffee? Script code highlighting, verification and compilation, etc.;
    15. Color? picker-- cross-platform Color picker plug-in;
RELATED LINKS
    • Sublime Text Details: please click here
    • Sublime Text: Please click here.


Encoding Artifact Sublime Text Package management tool and extension Daquan


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.