if(
true
&& (
true
&& "really long string that causes line break in the structure" == ""
) // Comment moved
) {
void
}
It seems the above code gets formatted a little weirdly when we have a nested condition with a breaking group inside it, it seems that we end up moving the comment down two lines which is rather bizar, interestingly this doesn't seem to apply to when we wrap in a function rather than a condition.
if (
true
&& (
true
&& "really long string that causes line break in the structure" == ""
)
// Comment moved
) {
void
}
Is the resulting format
It seems the above code gets formatted a little weirdly when we have a nested condition with a breaking group inside it, it seems that we end up moving the comment down two lines which is rather bizar, interestingly this doesn't seem to apply to when we wrap in a function rather than a condition.
Is the resulting format