Skip to content
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

Trailing comma inserts extra line #61

Closed
belav opened this issue Mar 29, 2021 · 0 comments · Fixed by #68
Closed

Trailing comma inserts extra line #61

belav opened this issue Mar 29, 2021 · 0 comments · Fixed by #68
Labels
area:formatting type:bug Something isn't working

Comments

@belav
Copy link
Owner

belav commented Mar 29, 2021

The extra line before the brace is inserted if there is a trailing comma

            return new LeadingComment
            {
                Type = commentType,
                Comment = comment,
                AddExtraIndent = addExtraIndent,

            };
@belav belav added type:bug Something isn't working area:formatting labels Mar 29, 2021
@belav belav added this to the Beta milestone Mar 29, 2021
shocklateboy92 added a commit that referenced this issue Apr 4, 2021
closes #61 - fixes issue with trailing separators adding extra line
@belav belav removed this from the Beta milestone Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:formatting type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant