本文介绍了从Eclipse格式化程序文件创建Checkstyle配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
目前,我们的团队正在使用自定义的Eclipse Formatter配置.有没有一种方法可以将生成的xml文件导入到Checkstyle中,使它们都在同一规则集上?
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?
推荐答案
回答,目前无法将格式化程序文件转换为Checkstyle规则集.格式化程序文件的另一种语法为checkstyle,因此无法读取它.
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.
这篇关于从Eclipse格式化程序文件创建Checkstyle配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!