You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The short record expression should be wrapped in a genTrivia function.
Comment after was lost because of this.
Code
/// Formatting F# code/// A case studytypeFormatConfig={
PageWidth:int
Indent:int }// The number of spaces typeILogger=memberthis.LogDebug message =(* TODO: implement something *)()letrun(req:HttpRequest)(log:ILogger)=
Http.main getFantomasVersion format FormatConfig.FormatConfig.Default log req
|> Async.StartAsTask
Result
/// Formatting F# code/// A case studytypeFormatConfig={ PageWidth:int; Indent:int }typeILogger=memberthis.LogDebug message =()letrun(req:HttpRequest)(log:ILogger)=
Http.main getFantomasVersion format FormatConfig.FormatConfig.Default log req
|> Async.StartAsTask
Options
Fantomas Next - 4.0.0-alpha-001-1/1/1990
Name
Value
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:
nojaf
added a commit
to nojaf/fantomas
that referenced
this issue
Apr 21, 2020
Issue created from fantomas-online
The short record expression should be wrapped in a genTrivia function.
Comment after was lost because of this.
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: