安装插件步骤 访问 file --> settings ---> plugins 搜索 CheckStyle 配置插件 settings 全局搜索 checkstyle 点击+ 号 加载配置即可 检查代码 打开代码右键