Hi All,

I was setting up the checkstyle plugin in IntelliJ (
https://plugins.jetbrains.com/plugin/1065) and it turned out that the
suppression file should be referenced from the checkstyle.xml to be used by
the plugin so I added it to the checkstyle config. Please check the
attached diff.

Remarks: I wasn't able to configure it so that maven checkstyle plugin
could load the suppression file (the only way it worked was referring to it
with absolute path) so I marked it as optional and the maven plugin will
get the file's location from the configuration in the pom.xml.

Please share your opinion whether it's a useful addition or not.

I also created an IntelliJ code style definition xml based on the
checkstyle rules:
https://gist.github.com/adenes/bc848389c30b59eea400469a1d5e4b49

Cheers,
Denes

Reply via email to