If statements suddenly get formatted on next line by Visual Studio 2010

c#, formatting, visual-studio-2010

Solution

It was

options->text editor->c#->Wrapping->Leave statements and member declarations on same line.

(must be turned on).

Steve B you can have the Kudus because you directed me to "almost" the right option.

Problem

Hello suddenly VS2010 has started formatting my if statements in a way that I don't want and I don't know how to turn it of..I Used to format if statements without accolades like this. ``` if (true) DoThis(); ``` But now VS2010 formats that as follows all the time. ``` if (true) DoThis(); ``` I Don't want this and it drives me nuts. I Don't have any plugins installed. Can anybody help me ? Where I can adjust this setting ?

Original source