Open petrroll opened 3 years ago
Similarly, this got inferred in our codebase:
#require braces to be on a new line for properties, accessors, methods, control_blocks, types, and object_collection_array_initializers (also known as "Allman" style)
csharp_new_line_before_open_brace = properties, accessors, methods, control_blocks, types, object_collection_array_initializers
Even though it's not Allman style, at least according to docs (note e.g. anonymous_methods
missing): https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#csharp_new_line_before_open_brace
On this note, I think the IntelliCode inference is actually wrong and should've inferred all
. But don't have concrete data to back-it up (happy to provide codebase in question interanlly).
Version Used: Version 16.8.4
Steps to Reproduce:
Expected Behavior:
Actual Behavior:
Description I assume the comments should correspond to what value was inferred. I.e. when
csharp_space_between_method_declaration_parameter_list_parentheses = false
is inferred, the comment should say "do not place a space" or "remove a space".E.g. programm:
Whole relevant editorconfig:
Note: Apologies if this is not the correct repo.