-
Notifications
You must be signed in to change notification settings - Fork 80
Setup CheckStyle to your IDE
Nazar Vladyka edited this page Aug 29, 2019
·
7 revisions
If you use IntelliJ IDEA follow steps:
- Download Checkstyle plugin for your IDE. Go to - Other Settings/Checkstyle. Click on add configuration File -> Browse -> and choose configuration file in root of project - checkstyle.xml -> Ok. Also add description for this Checkstyle file, e.g. "GreenCity".
Click to activate this Configuration File -> Apply.
- Go to Editor -> Code Style -> Choose Scheme : Project -> Settings -> Copy to IDE... -> Enter -> Settings -> Import Scheme -> CheckStyle Configuration -> and choose configuration file in root of project - checkstyle.xml -> OK -> Apply