1.安装使用Package Control组件安装
(1)打开控制台 (mac)control+`; (win)ctrl+`
(2)复制一下代码并回车
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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)
(3)重启sublime text preferences -> Package Control如果有这一项说明 Package Control 安装成功!
package control 官网 https://packagecontrol.io/installation#st3
2.安装Emmet
(1)按键“ctrl+shift+p”,或者单击菜单->工具->命令面板。
(2)打开了命令面板,输入“pcip”(package control install package)四个单词的首字母.
(3)即可出现新的安装package的面板,搜索emmet: