converting an eclipse formatter file to a checkstyle file

 ̄綄美尐妖づ 提交于 2020-01-13 08:31:12

问题


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.


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/8327498/converting-an-eclipse-formatter-file-to-a-checkstyle-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!