Reformat: wrapping long binary operation

Hi All

Did anyone of you observe the strange behaviour of code reformatting engine when it wraps long binary operations (e.g. string concatenations).
The results are not consistent between runs. I thought that "keep line breaks" option may have its impact, but it looks like it does not.
Example (right margin is 120 cols):

after 1st pass becomes:

if I join lines 2 and 3, and reformat, then I got:

i.e. reformatting does not change code.

Also I observed that sometimes operation signs are left at the end of line, while I configured them to be put in the beginning of the line.

Is this a bug or did I overlook anything?

Please sign in to leave a comment.