0

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.

rhughes
  • 9,257
  • 11
  • 59
  • 87
  • check this out http://stackoverflow.com/questions/11055800/how-to-turn-off-brackets-quotes-auto-completion – Arash Sep 26 '15 at 10:46

1 Answers1

1

Install Productivity Tools 2015

Auto brace completion is one of the many features it has to offer

Sievajet
  • 3,443
  • 2
  • 18
  • 22