1 CheckStyle插件的安装
打开IDEA的设置,File->Settings
选择Plugins点击Brows Repositories
搜索checkstyle并安装
2 插件的使用
打开一个文件,在里面右键选择Check current file
在Rules里选择自己配置的规范或者已存在的如SunCkecks
运行
打开IDEA的设置,File->Settings
选择Plugins点击Brows Repositories
搜索checkstyle并安装
打开一个文件,在里面右键选择Check current file
在Rules里选择自己配置的规范或者已存在的如SunCkecks
运行