Is there a way within intellij that the checkstyle rules can be edited? Within the Eclipse checkstyle plugin you can edit specific rules within the IDE, is their a similar plugin for Intellij? I tried downloading idea-checkstyle and QA-Plug plugins, but these don't seem to be able to edit the checkstyle xml file directly.
Go to Settings|Editor|Code Style, choose a code style you want to import CheckStyle configuration to. Click on the gear, then 'import scheme', choose "CheckStyle Configuration" and select a corresponding CheckStyle configuration file. Click OK.
Right click on the java file in Package Explorer or whatever, and select 'Apply Checkstyle Corrections'. Click on the error in the problems view, and select 'Quick fix'. This corrects the problem.
We don't support this in Checkstyle-IDEA and have no plans to implement this. Sorry.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With