the idea kotlin code formatter behaves really stra...
# intellij
c
the idea kotlin code formatter behaves really strange when i set it to “kotlin style guide” mode. it spreads statements to multiple lines even when they would fit into one line. for example this:
Copy code
print(
                objectMapper.writeValueAsString(
                    Versioned(
                        participant
                    )
                )
            )
actually that line was a bit longer than the line limit, but then i extracted a variable to shorten it, and when i reformat the file it does not change the formatting. i can reformat it manually and then it will stay in one line
which is strange because i deselected “keep line breaks” in the formatter options