Code formatting wrapping long lines issue
已回答
Is there a way to tell IDEA not to split method name and braces when wrapping long lines?
Example: I have a line of code
softly.assertThat(disclosure.
which is longer than 120 characters and I want it to be split like this
softly.assertThat(disclosure.
.
but what I got after running IDEA formatting is
softly.assertThat(disclosure.
().
i.e. the braces of getCompanyPosition went to the another line which looks awful.
My version of IDEA is Ultimate 2017.2.4
请先登录再写评论。
What are your settings for the braces placement?