1、eclipse中安装plug-in project
步骤一:进入eclipse菜单Help->Install New Software
步骤二:"Work With:" -> "--All Available Sites--","type" >"Plug-in"
步骤三:过滤项中安装:"Eclipse Plug-in Development Environment",重启eclipse
2、eclipse中创建一个"plug-in Project"工程
步骤一:new > New Project > plug-in Project
![](https://i-blog.csdnimg.cn/blog_migrate/6ed320d9a878702bf672fa80ec394659.png)
步骤二:创建一个工程为"com.project.test",Target Platform > This plug-in is targeted to run with 选择"an OGGi framework",右侧复选框选择"standard"
步骤三:后面两步选择默认,直接next,Templates项选择任意一个即可: