Can I make Visual Studio 2017 stop indenting braces for case? -


visual studio indents braces in case this:

switch(variable) {     case 0:         {             // code             break;         } } 

however better without indentation:

switch(variable) {     case 0:     {         // code         break;     } } 

i looking through options, didn't find 1 want. did miss or not there?

under visual studio

options >> texteditor >> c# >> code style >> formation >> indentation

is looking . see several options under menu , set settings wish. in case , setting called "indent case contents"


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -