devoured elysium
devoured elysium

Reputation: 105227

Making Resharper put a space in-between class/namespace identifier and the curly brace

I've just installed Resharper on my machine, and by default he presents me with the following C# code formatting:

namespace machineLearning{
    public class Class1{
    }
}

I've tried fiddling with the different options on Options -> C# -> Formatting Style but I can't seem to find what the option to correct this behaviour is. There seems to be no option explicitly or less-explicitly concerning adding a space between the identifier and the following brace.

How to accomplish that?

Upvotes: 3

Views: 983

Answers (1)

awright18
awright18

Reputation: 2333

In Resharper 7 It is under Resharper -> Manage Options -> Code Editing -> C# -> Formatting Style -> Braces Layout -> Method declaration -> (set the value to ) At End of line (K & R Style)

Upvotes: 4

Related Questions