第一步:按Ctrl+Shift+P命令板 ,输入install Package Control,按回车即可 安装Perferences->package control菜单
安装前开启控制台(快捷键Ctrl+~),同时在开启debug模式
,等到出现以下界面表示安装成功
第二步:下载emmet sublime text的插件,https://emmet.io/download/
https://github.com/sergeche/emmet-sublime#readme
第三步:打开preferences---Browse Package...,将下载emmet解压缩,拷贝到packages下面,sublime会自动安装插件
emmet.pyv8loader: Downloading https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64-p3.zip timed out, trying again,过一段时间会提示pyv8-linux64-p3.zip无法下载,会提示手工PyV8(https://github.com/emmetio/pyv8-binaries)
Try to manually install PyV8 from
https://github.com/emmetio/pyv8-binaries
error: Error while loading PyV8 binary: exit code 3
Try to manually install PyV8 from
https://github.com/emmetio/pyv8-binaries
第四步:将pyv8-binaries-master解压缩,拖进chrome,得到file:///home/fenghuo/Desktop/pyv8-binaries-master/
第五步:修改emmet插件里面pyv8loader.py文件,url地址,保存
# url = 'https://raw.github.com/emmetio/pyv8-binaries/master/%s' % cur_item['name']
url = 'file:///home/fenghuo/Desktop/pyv8-binaries-master/%s' % cur_item['name']
第六步:重启sublime text3,提示PyV8安装成功
第七步:重启sublime,新建test.html文件,输入!,再按tab测试emmet安装成功
前端开发利器Emmet插件的基本使用总结,https://blog.csdn.net/u010268820/article/details/85846347
网友评论