Enable Clang-Format for Java (#3064)
authorAndres Noetzli <noetzli@stanford.edu>
Wed, 14 Aug 2019 17:03:21 +0000 (10:03 -0700)
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 14 Aug 2019 17:03:21 +0000 (12:03 -0500)
.clang-format

index 01c8eeb25aa221c1c73e59845a8846c6fa1d078c..23e537b33934ed62673396a1bc0bf7494b7436d7 100644 (file)
@@ -16,4 +16,11 @@ BraceWrapping:
   BeforeElse: true
 BreakBeforeBraces: Custom
 DerivePointerAlignment: false
+---
+Language: Java
+BasedOnStyle:  Google
+ColumnLimit: 80
+BinPackArguments: false
+BinPackParameters: false
+BreakBeforeBinaryOperators: NonAssignment
 ...