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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -