1. 程式人生 > >eclipse 離線安裝 checkstyle 插件

eclipse 離線安裝 checkstyle 插件

title 分享圖片 plugin tps 插件 下載 com pin href

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 插件