Reputation: 1
JetBrains Rider defaults to IFs, FORs etc. formatted like that:
if (true)
{
return;
}
return;
What I want is to have it like this:
if (true) {
return; }
return;
In Settings/Code Style/C# I can see a lot of seemingly related configuration; I was expecting some regexp to fill and that's it (I never understoodGUI), but it seems like a lot of learning to set this simple thing. What's the easiest way to achieve what I need?
This is .editorconfig
file I've tried to use:
[*.cs]
indent_style = space
indent_size = 4
resharper_csharp_brace_style = next_line
resharper_csharp_blank_lines_around_invocable = 2
csharp_space_between_parentheses = expressions, type_casts, control_flow_statements
csharp_style_var_for_built_in_types = true
but it seems to be ignored...
Upvotes: 0
Views: 56