I’ve been through the Settings>Editor>Code Style>C# options but I can’t see anything that prevents the IDE to add an indent in this situation:
Console.WriteLine(
myClass.myMethod(
new int[] { 1, 3, 1, 7 })
);
Here I want to press return after the closing curly brace and before the closing parenthesis.
I’d expect this:
Console.WriteLine(
myClass.myMethod(
new int[] { 1, 3, 1, 7 }
)
);
But I get this:
Console.WriteLine(
myClass.myMethod(
new int[] { 1, 3, 1, 7 }
)
);
And I actually see the aligned-with-my-desires format happening for a milisecond but then the IDE adds a new indent.
How can I disable this?