我在哪里可以找到Android编码风格的checkstyle配置?

Max*_*sky 22 android coding-style checkstyle

有针对Android的编码约定.它们包括一些可以使用checkstyle检查的命名约定.

我找到了一些checkstyle的配置:http://ksoichiro.blogspot.com/2011/05/android-checkstyle.html

但是我想问一下checkstyle是否有更完整的配置.也许谷歌提供一些官方的checkstyle配置?

pix*_*xel 19

在这里你可以找到一些实现http://source.android.com/source/code-style.html 但它们都不是官方的.

  • 可以在以下位置找到当前Checkstyle 5.6版的版本:https://gist.github.com/shareme/4197561 (2认同)

ste*_*nsk 7

有Android Check插件(https://github.com/noveogroup/android-check).

它有两个可以使用的预定义Checkstyle配置:


Sar*_*rpe 5

以下是Square人员用于Picasso的checkstyle配置:https: //github.com/square/picasso/blob/master/checkstyle.xml

这是Google的Java Style Checkstyle Coverage:http: //checkstyle.sourceforge.net/google_style.html