How do I prevent rider from generating }, {
between chopped elements of an initialization?
I looked through Editor --> Code Style --> Braces Layout/Line Breaks and Wrapping
, but I may have missed something. Surely this mildly weird construction is not forced upon us?
What Rider does:
Dictionary<string, string[]> rider = new() {
{
"first", new[] {
"a", "b", "c",
"d", "e", "f"
}
}, { // <-- Not desired
"first", new[] {
"a", "b", "c",
"d", "e", "f"
}
};
Preferred:
Dictionary<string, string[]> rider = new() {
{
"first", new[] {
"a", "b", "c",
"d", "e", "f"
}
},
{ // <-- Want this
"first", new[] {
"a", "b", "c",
"d", "e", "f"
}
};