Sebastian Basner
Sebastian Basner

Reputation: 515

Create a Checkstyle Configuration from an Eclipse formatter file

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?

Upvotes: 5

Views: 4914

Answers (2)

crasp
crasp

Reputation: 743

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.

Upvotes: 5

tostao
tostao

Reputation: 3048

Preferences -> Java -> Code Style - > Formatter

You can import/export or create a new format rules.

Upvotes: 0

Related Questions