Single line code blocks with braces

Is there a way to have ReSharper put single-line if blocks on the same line with brackets? Should format similarly for for, while, etc, but not methods. A few examples....

if (true)

{ doSomething(); }

else

{ doSomeThingElse(); }

 

foreach (var item in items)

{ doSomeThing(item); }

 

0

Please sign in to leave a comment.