欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

sublime安裝插件方法

程序员文章站 2022-05-30 16:46:21
...

用Ctrl+`快捷键打开命令行sublime安裝插件方法

输入

import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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)

然后按下回车等待
Preferences - Package Control (快捷键:Ctrl +Shift + P)
输入“ip”,选择Package Control:Install Package安装Package Control
输入emmet安装该包,用于HTML开发
sublime安裝插件方法

相关标签: sublime text