eclipse 离线安装 checkstyle 插件

1 下载插件

eclispe 版本为 mars.2 

下载checkstyle插件为 https://sourceforge.net/projects/eclipse-cs/files/Eclipse%20Checkstyle%20Plug-in/7.3.0/net.sf.eclipsecs-updatesite_7.3.0.201612142232.zip

2 解压

net.sf.eclipsecs-updatesite_7.3.0.201612142232.zip

3 把解压后的plugin 和 features 文件夹放到eclipse 文件夹下的 dropins 文件夹下

4 确认 本机jdk 为jdk8 原因是新版本的checkstyle 插件只支持jdk8

5 重启eclipse ,在windows/perferences 下是否能看到checkstyle

如果看不到,请参考

http://blog.sina.com.cn/s/blog_7ba28b620102yz92.html

1 百度的,启动参数带clean:

eclipse安装checkstyle无法加载到preferences的问题
2 删除configuration下的org.eclise.update,重启eclipse:

eclipse安装checkstyle无法加载到preferences的问题
3 还不行?,修改configuration下的config.ini,就是上面那个图最后的配置文件,把org.eclipse.update.reconcile的值设为true,再重启:

eclipse安装checkstyle无法加载到preferences的问题

ok,搞定!

猜你喜欢

转载自www.cnblogs.com/fb010001/p/9882136.html
今日推荐