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
Multiline secondary constructor #3037
Comments
The current situation is that the formatting for implicit constructors is not influenced by the MultilineBracketStyle setting. So it gap is more with secondary constructors in general. I'm open to implementing this feature, but I would like it to be clearly explained in the style guide. While I believe there's no need for extensive discussion on this matter, updating the guide on dotnet/docs could be beneficial in preemptively addressing any potential concerns from the community. Could you send over a PR for the style guide? |
Indeed, I think this case is cover by this section to be more precise this paragraph: I can send a PR to add an exemple for secondary constructors. |
Thanks! |
MultilineBracketStyle
Issue created from fantomas-online
Code
Result
Problem description
Please describe here the Fantomas problem you encountered.
Check out our Contribution Guidelines.
The secondary constructors should follows the same indentation styles as the primary constructor and the member declaration.
Extra information
Options
Fantomas main branch at 2024-01-11T10:58:46Z - d8f44db
Did you know that you can ignore files when formatting by using a .fantomasignore file?
PS: It's unlikely that someone else will solve your specific issue, as it's something that you have a personal stake in.
The text was updated successfully, but these errors were encountered: