Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

converting an eclipse formatter file to a checkstyle file

I have an eclipse formatting file (which contains some configurations) and i want to make the same thing (these configurations) for a checkstyle file to use after with maven build.

like image 507
black Avatar asked Nov 30 '11 14:11

black


2 Answers

Unfortunately, there is no way to convert a formatter file to a checkstyle ruleset at the moment. You have to do it the other way around as explained here.

Otherwise you have to adjust every setting in your formatter manually for checkstyle.

like image 98
crasp Avatar answered Sep 17 '22 13:09

crasp


The Eclipse-Checkstyle plugin provides an export feature to export your preferences.

like image 39
Sri Sankaran Avatar answered Sep 19 '22 13:09

Sri Sankaran