问题
At the moment our team is working with a custom eclipse Formatter configuration. Is there a way to import the generated xml file into Checkstyle to have both on the same ruleset?
回答1:
As answered here, there is no way to convert a formatter file to a checkstyle ruleset at the moment. The formater file has another syntax as checkstyle, so it's unable to read it.
回答2:
Preferences -> Java -> Code Style - > Formatter
You can import/export or create a new format rules.
来源:https://stackoverflow.com/questions/11499984/create-a-checkstyle-configuration-from-an-eclipse-formatter-file