Editor Support IntelliJ Idea Checkstyle Plugin
Install Checkstyle-IDEA Plugin
- Open IDE Settings:
IntelliJ IDEA -> Settings -> Pluginsand search "checkstyle" on Marketplace.
- Choose CheckStyle-IDEA plugin and click "Install".
- Restart IntelliJ IDEA after installation.
Configure CheckStyle-IDEA Settings
- Open CheckStyle-IDEA Settings:
IntelliJ IDEA -> Settings -> Tools -> Checkstyle. - Add Yourcompany checkstyle jar file (
yourcompany-checks-X.X.X.jar) to Third-Party checks.- You can download the latest Yourcompany Checkstyle jar on Nexus or other platform.
- Jar included in
com.yourcompany.checkstyle.yourcompany-checkspackage.
- Add
yourcompany_checks.xmlas configuration file:- Add description and choose Configuration file.
- You can use option 'Use a local Checkstyle file' by giving
yourcompany_checks.xmlfile.
- Click Next and check that validation is OK.
- Click Apply and OK.
Note: You can use the Checkstyle plugin in IntelliJ IDEA to view Checkstyle problems directly in the UI. Remember to update the JAR and XML files with each new release.
Scan File, Module, or Project
- Show Checkstyle plugin on sidebar:
View -> Tool Windows -> CheckStyle.
- Open a file and run checkstyle from sidebar for:
- That file
- The module of that file
- The entire project
Important: Don't forget to select Yourcompany as active configuration on the Rules section.

Configure Inspections
Please follow the provided instructions in the Codestyle IntelliJ IDEA Integration for codestyle and inspection settings.