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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -