For instance, when using a primary constructor with parameters indented on new lines, adding a comma followed by a new line to the end of a parameter list adds multiple newlines
Before:
After:
From the LSP trace logs we see that we are sending over a single new line and formatting is returning multiple new lines and some indentation.