1. 在Emmet官网中下载Emmet的源码包http://emmet.io
在Download页面中选择Eclipse项

之后会跳转到github中,在右侧可以下载源码包zip

2. 解压源码包
源码包的目录结构

将其中的 io.emmet.eclipse 解压出来,并导入到Eclipse中
3. 导入到Eclipse中
打开Eclipse在package Explorer中右键->Import
在弹出的对话框中选择 Existing Projects into Workspace



4. 导出插件
在刚导入的工程上右键 -> Export -> Plug-in Development -> Deployable plug-ins and fragments

选择导出目录

5. 使用插件
在导出的目录中有一个plugins目录,将该目录复制到Eclipse目录下的 dropins 下
重启Eclipse
网友评论