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
Please describe here fantomas problem you encountered
let genMemberFlagsForMemberBinding astContext (mf: MemberFlags) (rangeOfBindingAndRhs: range) = fun ctx -> match mf with | MFOverride _ -> (fun (ctx: Context) -> // trying to get AST trivia ctx.Trivia |> List.tryFind (fun { Type = t; Range = r } -> // trying to get token trivia match t with | MainNode "SynMemberDefn.Member" -> RangeHelpers.``range contains`` r rangeOfBindingAndRhs | Token { TokenInfo = { TokenName = "MEMBER" } } -> r.StartLine = rangeOfBindingAndRhs.StartLine | _ -> false) |> Option.defaultValue (!- "override ") <| ctx) <| ctx
Fantomas Next - 4.0.0-alpha-001-1/1/1990
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
SpaceBeforeUppercaseInvocation
SpaceBeforeClassConstructor
SpaceBeforeMember
SpaceBeforeColon
SpaceAfterComma
SpaceBeforeSemicolon
SpaceAfterSemicolon
IndentOnTryWith
SpaceAroundDelimiter
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
MaxArrayOrListWidth
MaxLetBindingWidth
MultilineBlockBracketsOnSameColumn
NewlineBetweenTypeDefinitionAndMembers
StrictMode
The text was updated successfully, but these errors were encountered:
Don't add newline if there is line comment after the arrow. Fixes fsp…
2bed7ac
…rojects#772
4a67f8a
nojaf
No branches or pull requests
Issue created from fantomas-online
Please describe here fantomas problem you encountered
Code
Result
Options
Fantomas Next - 4.0.0-alpha-001-1/1/1990
IndentSpaceNum
4
PageWidth
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
true
SpaceBeforeUppercaseInvocation
false
SpaceBeforeClassConstructor
false
SpaceBeforeMember
false
SpaceBeforeColon
false
SpaceAfterComma
true
SpaceBeforeSemicolon
false
SpaceAfterSemicolon
true
IndentOnTryWith
false
SpaceAroundDelimiter
true
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
40
MaxArrayOrListWidth
40
MaxLetBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
StrictMode
false
The text was updated successfully, but these errors were encountered: