Reputation: 9583
If I enter some simple code such as:
public void Hello()
and then press enter and type a {
, I get:
public void Hello()
{ }
I would like the result to be either:
public void Hello()
{ // no added '}'
or:
public void Hello()
{
} // the '}' on a new line
I've looked around Tools -> Options -> Text Editor -> C# -> Code Style
and Tools -> Options -> Text Editor -> C# -> Formatting
but cannot seem to find how to make the above changes.
Upvotes: 0
Views: 72
Reputation: 3513
Install Productivity Tools 2015
Auto brace completion is one of the many features it has to offer
Upvotes: 1