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
type Foo = | One = 0x00000001 | Two = 0x00000002
type Foo = | One = 1 | Two = 2
Hex numbers in enum definitions are output as decimal numbers. Possibly similar to #995
Fantomas Master at 08/10/2020 06:52:52 - 6d8f084
IndentSize
4
MaxLineLength
120
SemicolonAtEndOfLine
false
SpaceBeforeParameter
true
SpaceBeforeLowercaseInvocation
SpaceBeforeUppercaseInvocation
SpaceBeforeClassConstructor
SpaceBeforeMember
SpaceBeforeColon
SpaceAfterComma
SpaceBeforeSemicolon
SpaceAfterSemicolon
IndentOnTryWith
SpaceAroundDelimiter
MaxIfThenElseShortWidth
40
MaxInfixOperatorExpression
50
MaxRecordWidth
MaxArrayOrListWidth
MaxValueBindingWidth
MaxFunctionBindingWidth
MultilineBlockBracketsOnSameColumn
NewlineBetweenTypeDefinitionAndMembers
KeepIfThenInSameLine
MaxElmishWidth
SingleArgumentWebMode
AlignFunctionSignatureToIndentation
AlternativeLongMemberDefinitions
StrictMode
The text was updated successfully, but these errors were encountered:
Assign number trivia to enum cases. Fixes fsprojects#1006.
822be5a
da8feea
Assign number trivia to enum cases. Fixes #1006. (#1008)
29b901f
Successfully merging a pull request may close this issue.
Issue created from fantomas-online
Code
Result
Problem description
Hex numbers in enum definitions are output as decimal numbers. Possibly similar to #995
Extra information
Options
Fantomas Master at 08/10/2020 06:52:52 - 6d8f084
IndentSize
4
MaxLineLength
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
MaxValueBindingWidth
40
MaxFunctionBindingWidth
40
MultilineBlockBracketsOnSameColumn
false
NewlineBetweenTypeDefinitionAndMembers
false
KeepIfThenInSameLine
false
MaxElmishWidth
40
SingleArgumentWebMode
false
AlignFunctionSignatureToIndentation
false
AlternativeLongMemberDefinitions
false
StrictMode
false
The text was updated successfully, but these errors were encountered: