1. 在Emmet官网中下载Emmet的源码包http://emmet.io

在DEclipse中离线安装Emmet插件Download页面中选择Eclipse项
之后会跳转到github中,在右侧可以下载源码包zip
Eclipse中离线安装Emmet插件

2. 解压源码包

源码包的目录结构
Eclipse中离线安装Emmet插件
将其中的 io.emmet.eclipse 解压出来,并导入到Eclipse中

3. 导入到Eclipse中

打开Eclipse在package Explorer中右键->Import
在弹出的对话框中选择 Existing Projects into Workspace
Eclipse中离线安装Emmet插件
Eclipse中离线安装Emmet插件
Eclipse中离线安装Emmet插件

4. 导出插件

在刚导入的工程上右键 -> Export -> Plug-in Development -> Deployable plug-ins and fragments
Eclipse中离线安装Emmet插件
选择导出目录
Eclipse中离线安装Emmet插件

5. 使用插件

在导出的目录中有一个plugins目录,将该目录复制到Eclipse目录下的 dropins
重启Eclipse

相关文章: