checkstyle在eclipse上怎么安装

如题所述

checkstyle在eclipse上安装方法:
下载checkstyle.xml及01checkstyle文件,放到eclipse安装目录下

解压01checkstyle文件中的压缩文件,将里面的两个文件夹plugins和 features下面的文件分别拷贝到eclipse目录下面对应的plugins和features目录,重启eclipse。
Eclipse中,选择Windows->Preferences->checkstyle
点击 new,type选择external configuration file, location点击browse, 选择checkstyle.xml文件导入
导入之后将导入的文件选为默认项。
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答