Array Initialisation in method calls:
eg https://bazaar.launchpad.net/tpokorra/openpetraorg/201605_test_new_uncrustify/revision/3261/csharp/ICT/BuildTools/DataDumpPetra2/FixData.cs#csharp/ICT/BuildTools/DataDumpPetra2/FixData.cs
Similar to that: Indentation of delegates: eg https://bazaar.launchpad.net/tpokorra/openpetraorg/201605_test_new_uncrustify/revision/3261/csharp/ICT/BuildTools/DataDumpPetra2/Partner.AddressBlock.cs#csharp/ICT/BuildTools/DataDumpPetra2/Partner.AddressBlock.cs
I have prepared a test case:
this is how we used to format the code:
SomeFunc(2,
3,
4);
SomeOtherFunc(new {
Name = "Dude", Age = 30,
});
Task mydelegate = new Task(() =>
{
System.Console.WriteLine("test");
});
the default would now be, with indent_paren_open_brace=false
:
SomeFunc(2,
3,
4);
SomeOtherFunc(new {
Name = "Dude", Age = 30,
});
Task mydelegate = new Task(() =>
{
System.Console.WriteLine("test");
});
there is also an option with indent_paren_open_brace=true
:
SomeFunc(2,
3,
4);
SomeOtherFunc(new {
Name = "Dude", Age = 30,
});
Task mydelegate = new Task(() =>
{
System.Console.WriteLine("test");
});
I personally think that this is not an option, because the delegates would be too much aligned.
Do you think that the option indent_paren_open_brace=false
is ok? Or should I try to restore the previous format, by adding a new option probably?
On the other hand, just for the purpose of maintaining the code over time, I personnally would prefer the previous format to be kept.