将 eclipse 格式化程序文件转换为 checkstyle 文件 [英] converting an eclipse formatter file to a checkstyle file

查看:15
本文介绍了将 eclipse 格式化程序文件转换为 checkstyle 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Eclipse 格式化文件(其中包含一些配置),我想为 checkstyle 文件制作相同的东西(这些配置),以便在 maven 构建之后使用.

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.

推荐答案

不幸的是,目前无法将格式化程序文件转换为 checkstyle 规则集.你必须按照解释的相反方式做 这里.

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.

这篇关于将 eclipse 格式化程序文件转换为 checkstyle 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆