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
{{ message }}
Repository navigation
Code comment inside match-expression leads to additional blank line #3484
A code comment inside a match-expression followed by (a lot of) blank lines adds an additional blank line instead of removing the unnecessary ones.
Extra information
The formatted result breaks my code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
I would like a release if this problem is solved.
Options
Fantomas main branch at 1/1/1990
Default Fantomas configuration
Did you know that you can ignore files when formatting by using a .fantomasignore file? PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.
changed the title [-]Code comment inside match-expression leads to additional blank line followed by (a lot of) blank lines adds additional blank line instead of removing unnecessary ones[/-][+]Code comment inside match-expression leads to additional blank line[/+]on Sep 22, 2026
Activity
[-]Code comment inside match-expression leads to additional blank line followed by (a lot of) blank lines adds additional blank line instead of removing unnecessary ones[/-][+]Code comment inside match-expression leads to additional blank line[/+]nojaf commentedon Sep 22, 2026
Thanks for reporting this bug, a fix for this will be available in 8.0.2 later today.
Skip the separator newline after a body that ends in a comment
Bump the dotnet-sidecars group with 1 update (#269)
Bump the packages group with 10 updates (#280)