第一步: Sublime3下载地址;
废话不多说, 直接上下载地址--sublimetext官网
第二步: Subline3插件管理工具
没有对应的插件, 那还叫软件么! 那叫神器! 给Subline3插上翅吧!
2.1 安装插件管理工具
点击顶部菜单的 View -> Show Console*(或者使用快捷键 command + ` )。如下图
复制下边代码进去, Enter--下载即可
import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
来英文吧, 嘿嘿
1. Click the Preferences > Browse Packages… menu
2. Browse up a folder and then into the Installed Packages/ folder;
3. Download Package Control.sublime-package and copy it into the Installed Packages/ directory
Restart Sublime Text
2.2 举例子安装插件
CMD + shift + P 弹出 Package Control 来安装插件,
4. 选择Install Package, 然后在输入Emmet, 进行下载.