Sublime TEXT2 Installing the package Control

Source: Internet
Author: User

Sublime TEXT2 Installing the package Control installation method is not unique

Reference official Website Https://sublime.wbond.net/installation First method: Install via Python command
    • Open the console
find "View" in the menu bar and select "Show Console" under the Windows shortcut key ctrl+~; Mac under command+~
    • Copy the following code
import urllib2,os,hashlib; h = ' 7183a2d3e96f11eeadd761d777e62404 ' + ' e330c659d4bb41d3bdf022e94cab3cd0 '; pf = ' Packa GE 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 ())); by = Urllib2.urlopen (' http://sublime.wbond.net/' + pf.replace (', ') '). read (); DH = hashlib.sha256 (by). Hexdigest (); Open (Os.path.join (IPP, PF), ' WB '). Write (by) if DH = = h else None; Print (' Error validating download (got%s instead of%s), please try manual install '% (DH, h) if DH! = H Else ' please rest Art Sublime Text to finish installation ')
    • On the console, enter the Copy command on the top, and enter to execute! Wait for the prompt "Restart sublime Text2"! Reboot! Installation Complete
The second method: Download the package via the official website and import the packages Control
    1. Find "Preferences" in the menu bar and select "Browse Packages ..."
    2. Open a file directory This directory is the file directory where the "package Control" folder is placed
    3. Download package Control.sublime-package to unzip and copy the "package Control" directory into the directory just opened above
    4. Restart Sublime Text
After you install the package control, you can install the plugins we need. Shortcut keys: Windows under Ctrl+shift+p or Mac Command+shift+p) bring up the package Control Panel, common commands for the install (Installation extension), List Packages ( List all extensions), remove package (remove extension), Upgrade package (upgrade extension) Lua under common plug-in Lua Dev cocos2d-x LUA, etc.

GBK Encoding Support--Enables the editor GBK encoding

Zencoding-You can write HTML files very quickly and use Ctrl+alt+enter to Exhale

Jsformat--Formatting JavaScript

HTML5 ACTIONSCRIPT3, wait.

Sublime TEXT2 Installing the package Control

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.