We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue created from fantomas-online
module Foo = let assertConsistent () : unit = if veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLong then () else if foo = bar then () else let leftSet = HashSet (FooBarBaz.keys leftThings) leftSet.SymmetricExceptWith (FooBarBaz.keys rightThings) |> ignore
module Foo = let assertConsistent () : unit = if veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLong then () elif foo = bar then () else let leftSet = HashSet(FooBarBaz.keys leftThings) leftSet.SymmetricExceptWith(FooBarBaz.keys rightThings) |> ignore
Original keywords are preserved in trivia but not used in this case. //cc @Smaug123
Fantomas Master at 07/05/2021 12:36:44 - 7cde65d
{ config with MaxLineLength = 100 MultilineBlockBracketsOnSameColumn = true KeepIfThenInSameLine = true MultiLineLambdaClosingNewline = true KeepIndentInBranch = true }
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered:
Add regression test for preservation of else if. Fixes fsprojects#1818.
d2c6ce7
Add regression test for preservation of else if. Fixes #1818. (#2026)
9785f3b
Add regression test for preservation of else if. Fixes fsprojects#1818.…
76e02eb
… (fsprojects#2026)
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
Problem description
Original keywords are preserved in trivia but not used in this case.
//cc @Smaug123
Extra information
Options
Fantomas Master at 07/05/2021 12:36:44 - 7cde65d
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: