Options / Languages / C# / Formatting Style / Other
Scroll to bottom, in Other section find "Indent array, object and collection initializer", remove check.
Or do you mean that you want braces to have same indent as declaration?
Ilya Ryzhenkov - 22 Mar 08 12:23 Options / Languages / C# / Formatting Style / Other
Scroll to bottom, in Other section find "Indent array, object and collection initializer", remove check.
Or do you mean that you want braces to have same indent as declaration?
Yes, that's it. But it's very inconvenient to have two settings in different sections controlling the same behavior. I think it's more intuitive to remove checkbox from Other section and add "Don't ident" to the list of various ident styles.
Oleg Anashkin - 24 Mar 08 20:14 Yes, that's it. But it's very inconvenient to have two settings in different sections controlling the same behavior. I think it's more intuitive to remove checkbox from Other section and add "Don't ident" to the list of various ident styles.
Scroll to bottom, in Other section find "Indent array, object and collection initializer", remove check.
Or do you mean that you want braces to have same indent as declaration?