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
I think the problem is that you put the x comment above the line with the first snippet ([) of the original line. More correct solution would be to track the last snippet (x,) and put the comment above its line.
The text was updated successfully, but these errors were encountered:
The behaviour of trailing comments today is very simple - they are always placed before the line (that means before all tokens that appeared on that line). We're debating changing that with some more subtle or complex behaviour in #134, I'm going to close this issue in favour of the discussion happening there.
Thank you for your feedback and trying erlfmt out! ❤️
Current result:
Expectation:
I think the problem is that you put the
x
comment above the line with the first snippet ([
) of the original line. More correct solution would be to track the last snippet (x,
) and put the comment above its line.The text was updated successfully, but these errors were encountered: