sublime安裝插件方法
程序员文章站
2022-05-30 16:46:21
...
用Ctrl+`快捷键打开命令行
输入
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开发
推荐阅读
-
Vue.js安裝--NPM方法
-
Sublime Text 3 常用插件以及安装方法(图文)
-
sublime text3的package control安装失效的解决方法(插件安装包管理)
-
安防摄像机网页无插件直播方案EasyNVR关于接口调用出现401 Unauthorized问题的解决方法
-
Sublime Text3安装Go语言相关插件gosublime时搜不到gosublime的解决方法
-
安装Sublime Text支持Go插件的方法步骤
-
Sublime Text 2 安装插件方法
-
Mac Sublime Text 3:there are no packages available for installation 导致不能安装插件的解决方法
-
sublime安裝插件方法
-
sublime text3 jQuery Emmet 插件 安装方法,快捷键