-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
anonTypeCurly has no affect on anonymous functions #560
Comments
Well, that is indeed a block, and not an anonymous type. :) |
So which properties I need to use to have expected output or it is not possible? |
duplicate of #538 you basically want: {
"lineEnds": {
"blockCurly": {
"leftCurly": "both",
"rightCurly": "both",
"emptyCurly": "break"
},
"anonFunctionCurly": {
"leftCurly": "after",
"rightCurly": "before"
}
},
"whitespace": {
"bracesConfig": {
"anonTypeBraces": {
"openingPolicy": "none",
"closingPolicy": "none"
}
}
}
} |
Ah, I guess that change hasn't been released yet. |
oh... I guess I need to release it eventually.... |
What about whitespace for anonymous function braces? |
there is currently no option to have different whitespace settings for anonymous functions [edit]only |
Anonymous funtions are being formatted as common "blockCurly"
Input file
Broken output
Expected output
Am I missing something? There is not much documentation about options, but seems like any "anon" option has no affect.
The text was updated successfully, but these errors were encountered: