Roiocam commented on code in PR #756:
URL: https://github.com/apache/incubator-pekko/pull/756#discussion_r1367738981


##########
.sbt-java-formatter.conf:
##########
@@ -8,6 +8,11 @@ ignored-files = [
   "StreamRefMessages.java",
   //in tests
   "ProtobufProtocol.java"
+  //formtat imports cause errors
+  "AggregatorTest.java",
+  "InteractionPatternsTest.java",
+  "ReplicatedShardingTest.java",
+  "ReplicatedAuctionExampleTest.java"

Review Comment:
   Fair enough. 
   
   We correctly using spotless for java formatting, it has configable than raw 
`google-java-formatter`.
   and then we meet the same issue of turn off the snippet formatting. In the 
end, we using new feature of spotless plugin, it sovled my problem. 
   
   There is some context of this feature and issue: 
https://github.com/diffplug/spotless/issues/275
   
   sbt has a plugin for spotless, but it has not been updated for a long time.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to