Visual Studio Indentation Configuration

4

I'm starting to program C # in VS (if someone knows a better IDE, thank you) and it has a quirk that's pissing me off: I use the key indentation as follows:

for(;;){
   //code
} 

But VS , when you enter with the keys together (for (;;) {}), it indents them automatically for

for(;;)
{
   //code
}

Thank you if someone knows how to respond to me if I can change to the first indent and if so, show me how.

    
asked by anonymous 10.05.2017 / 04:09

1 answer

3

Go to Tools > Options > Text Editor > C # > Formatting > New Lines:

Check or uncheck the options until you get the desired behavior.

    
10.05.2017 / 04:22