You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the formatter explodes parenthesized expressions such that the opening and closing parentheses both get their own lines. I will admit this is slightly better in verticalized constructors when every argument has been given its own line, but in (what I expect to be more common) cases where the expression is one of only a small number of arguments, putting the open parenthesis on its own line is reminiscent of the debate over C/C++ {.
For reference, the current output (ignoring the fact that this would be one-lined due to being less than the max width) would be:
Currently, the formatter explodes parenthesized expressions such that the opening and closing parentheses both get their own lines. I will admit this is slightly better in verticalized constructors when every argument has been given its own line, but in (what I expect to be more common) cases where the expression is one of only a small number of arguments, putting the open parenthesis on its own line is reminiscent of the debate over C/C++
{
.For reference, the current output (ignoring the fact that this would be one-lined due to being less than the max width) would be:
... and I'm proposing:
The text was updated successfully, but these errors were encountered: