Issue created from fantomas-online
Code
let inside = [||]
match inside |> Array.length with
| 1 -> ()
// comment
| 2 -> ()
Result
let inside = [||]
match inside |> Array.length with
| 1 -> ()
// comment
| 2 -> ()
Problem description
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
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.
Issue created from fantomas-online
Code
Result
Problem description
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
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.