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
then
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 veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongthen () elif foo = bar then () else let leftSet = HashSet(FooBarBaz.keys leftThings) leftSet.SymmetricExceptWith(FooBarBaz.keys rightThings) |> ignore
I believe this is only caused by the MaxLineLength and KeepIndentInBranch combination. We've lost the space that delimits the word then.
Fantomas Master at 07/05/2021 12:36:44 - 7cde65d
{ config with MaxLineLength = 100 MultilineBlockBracketsOnSameColumn = 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 space after long if expression in KeepIndentInBranch. Fixes fspro…
add0d68
…jects#1816.
Add space after long if expression in KeepIndentInBranch. Fixes #1816. (
620ef8a
#1817)
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
Problem description
I believe this is only caused by the MaxLineLength and KeepIndentInBranch combination. We've lost the space that delimits the word
then
.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: