I was surprised by this in the new formatting. Here is an input text:
bool f(bool b, int i) {
return // Check b.
b == true || i.isEven;
}
The formatter likes all that code on one line. If I want to add a comment for the i.isEven expression, then it insists on splitting:
bool f(bool b, int i) {
return // Check b.
b == true ||
// Check i.
i
.isEven;
}
🤕 Ouch. If this is intentional, I'll trust your research, and you can close.