When the fields have no annotation I want to keep them together
public class MyPojo {
public String a;
public String b;
}
but if a field is annotated I want a blank line above the annotation
public class MyPojo {
@JsonProperty("a")
public String a;
@JsonProperty("b")
public String b;
}
is there a configuration of settings in IntelliJ that would give me this behavior? my current relevant settings are below:
I tried to look for all possible options in formatting settings but could not find anything that can let us have a blank line before annotations. I could just found that we can add a space after annotations but nothing is there for the line.
I am also interested if you could find it. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With