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
SomeFunction(arg1,
arg2,
arg3)// does something
SomeOtherFunction(arg1, arg2)// does another thing
Result
SomeFunction(arg1, arg2, arg3)
SomeOtherFunction(arg1, arg2)// does another thing
Problem description
In this case, a comment is removed based on the original indentation of the code. I'd expect that both of the comments should be preserved in the formatted file?
If the arguments are fully indented (to line up with arg1), then I think the comment is kept, but otherwise it's lost.
Issue created from fantomas-online
Code
Result
Problem description
In this case, a comment is removed based on the original indentation of the code. I'd expect that both of the comments should be preserved in the formatted file?
If the arguments are fully indented (to line up with
arg1
), then I think the comment is kept, but otherwise it's lost.Options
Fantomas Master at 12/09/2020 20:05:59 - f93af00
Default Fantomas configuration
The text was updated successfully, but these errors were encountered: