How can I generate the IDEA CodeStyle for Java originating from a Checkstyle.xml document?
Sure - it is simple enough to *validate* code from the Checkstyle specification using one of the
Checkstyle plugins. However, this is not optimal.
Instead, I would like to *format* the code using IDEA's normal Code style formatting.
Thus, I need the functionality to generate IDEA's Code Style originating from a Checkstyle document.
How do I do that?
PS. This is a fairly common scenario for all consultants who move [frequently] between different projects.
The only common denominator standard seems to be the Checkstyle.xml configuration document.
It takes quite a while (and is error-prone) to manually re-generate am IDEA Codestyle from a Checkstyle.xml definition.
Thus, I would like this autogeneration feature. Fair?
// Best regards,
// Lennart Jörelid