eclipse 离线安装 checkstyle 插件
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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:
2 删除configuration下的org.eclise.update,重启eclipse:
3 还不行?,修改configuration下的config.ini,就是上面那个图最后的配置文件,把org.eclipse.update.reconcile的值设为true,再重启:
ok,搞定!
以上是关于eclipse 离线安装 checkstyle 插件的主要内容,如果未能解决你的问题,请参考以下文章
eclipse安装checkstyle无法加载到preferences的问题
为 Eclipse Neon 安装 Checkstyle-Plugin (7.2.0) 失败