Do you just mean you want to adjust the code style rules? Yes you can do that in IJ, just a matter of finding the indent rule to adjust.The Spark style is pretty normal stuff, though not 100% consistent.I prefer the first style in this case. Sometimes it's a matter of judgment when to differ from a standard style for better readability.On Sat, Feb 20, 2021 at 8:53 AM Pis Kevin <email@example.com> wrote:
I use google java code style in intellj idea. But when I reformat the following codes, its inconsistent with the code in spark.
Why? And how to fix the issue.