Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Edit Checkstyle rules within Intellij

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.

like image 938
Ash Avatar asked Jun 24 '13 08:06

Ash


People also ask

How do I use Checkstyle corrections in IntelliJ?

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.

How do I get rid of Checkstyle error in IntelliJ?

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.


1 Answers

We don't support this in Checkstyle-IDEA and have no plans to implement this. Sorry.

like image 97
James Avatar answered Oct 03 '22 23:10

James