-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments: Allow trailing comments #172
Comments
Thank you for bringing this up. Discussion on this is ongoing #124 |
This is no longer an issue, to me. You're welcome to close it if there's no more work planned on top of it. (also #124 is already merged) |
May I ask why this is no longer an issue for you? That could be very interesting for future users raising the same issue |
I believe the work done, in #124, is enough for this issue to lose relevance. |
Okay cool thanks, that is great to know :) |
This can also be seen as a duplicate of #219 |
I see that
erlfmt
removes trailing comments (the best it can) and places them in a line "above". Why?My reasoning is usually this: if it's trailing it pertains to a single line. If it's above a line it "might" pertain to a block of code.
Examples follow:
and
The text was updated successfully, but these errors were encountered: