Issue created from fantomas-online
Code
let test x =
match x with
| Value1 -> 1
// | Value2 -> 2
| Value3 -> 3
let test2 x =
match x with
| Value1 -> 1
| Value2 -> 2
// | Value3 -> 3
Result
let test x =
match x with
| Value1 -> 1
// | Value2 -> 2
| Value3 -> 3
let test2 x =
match x with
| Value1 -> 1
| Value2 -> 2
// | Value3 -> 3
Problem description
If you comment a match case the alignment fits with the rest of the cases, but if you comment the last match case the alignment will be at the start of the line. (Happens with both main and dallas)
Extra information
Options
Fantomas main branch at 2022-12-03T22:59:05Z - 47c6ac6
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
Issue created from fantomas-online
Code
Result
Problem description
If you comment a match case the alignment fits with the rest of the cases, but if you comment the last match case the alignment will be at the start of the line. (Happens with both main and dallas)
Extra information
Options
Fantomas main branch at 2022-12-03T22:59:05Z - 47c6ac6
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?