79658206

Date: 2025-06-08 22:49:36
Score: 2
Natty:
Report link

Please see this answer https://stackoverflow.com/a/74596206/2879473

In 2025, we can use the solution .editorconfig for it.
For example, I want to place open braces at the end of lines.

[*.cs]
csharp_new_line_before_open_brace = never
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_between_query_expression_clauses = false
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kuri65536