-
Notifications
You must be signed in to change notification settings - Fork 2
3. How to use StartupHeroes Checkstyle in Intellij IDEA
Özlem Ulağ edited this page Sep 22, 2020
·
23 revisions
Install Checkstyle-IDEA Plugin
- Open IDE Settings: Intellij IDEA > Preferences > Plugins.
- Search "Checkstyle-idea" plugin.
-
Choose plugin and click "Download and install".
-
Reboot IntellijIDEA after download.
- Open Config CheckStyle-IDEA Settings: Intellij IDEA > Preferences > Checkstyle.
- Add StartupHeroes checkstyle jar file (startupheroes-checks-X.XX.X.jar) to Third-Party checks.
You can dowload startupheroes-checks-1.0.16.jar.
- Add startupheroes_checks.xml as configuration file. Add description and choose Configuration file.
You can use option 'Use a Checkstyle file accessible via HTTP' by giving url of startupheroes_checks.xml file.
Or, you can use option 'Use a local Checkstyle file' by giving startupheroes_checks.xml file.
-
Click "Next" and check that validation is ok.
-
Click "Apply" and "OK".
- Open a file and run checkstyle from sidebar for that file or the module of that file or all project.