-
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 Dec 6, 2017
·
23 revisions
Install Checkstyle-IDEA Plugin
- Open IDE Settings: File > Settings > IDE Settings > Plugins.
- Search "Checkstyle-idea" plugin.
-
Choose plugin and click "Download and install".
-
Reboot IntellijIDEA after download.
- Open Config CheckStyle-IDEA Settings: File > Settings > Other Settings > Checkstyle.
- Add StartupHeroes checkstyle jar file (startupheroes-checks-X.XX.X.jar) to Third-Party checks.
You can dowload startupheroes-checks-1.0.10.jar.
- Add startupheroes_checks.xml as configuration file. Add description and choose Configuration file.
images/idea/idea_add_xml_file.png
-
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.
Please follow here for code style and inspection settings.