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
There is the 1-argument edge case trailing commas, where JuliaFormatter removes the trailing comma, but in my opinion it should stay (the standard diffing argument). I.e.
xs = [
1,
]
vs
xs = [
1
]
and
foo(
1,
)
vs
foo(
1
)
JuliaFormatter will format to the latter, but I think it should keep the comma.
There is the similar discussion in #455, but I feel that it might be a separate issue, since without join_lines_based_on_source=true, JuliaFormatter collapses everything into a single line, so you don't see the issue.
The text was updated successfully, but these errors were encountered:
There is the 1-argument edge case trailing commas, where JuliaFormatter removes the trailing comma, but in my opinion it should stay (the standard diffing argument). I.e.
vs
and
vs
JuliaFormatter will format to the latter, but I think it should keep the comma.
There is the similar discussion in #455, but I feel that it might be a separate issue, since without
join_lines_based_on_source=true
, JuliaFormatter collapses everything into a single line, so you don't see the issue.The text was updated successfully, but these errors were encountered: