I've noticed that the new version is wrapping my initializer for properties:
Initial Code:
C#public List<PersonModel> TeamMembers { get; set; } = new List<PersonModel>();
After formatting:
C# public List<PersonModel> TeamMembers
{
get; set;
}
= new List<PersonModel>();
As you can see the bit after the braces is wrapped and pushed over to the left of the screen. I've tried turning off all the settings to try and work out which one it might be that is causing the issue, but had no luck, all turned off, it still seems to wrap the initialize code to the next line.
Found which option is causing this…
Formatting > Blank Lines > Property \ Event - Blank Lines around: 0 or more
having the above option ticked on - even with zero lines causes the above.
Alan,
Thank you for your feedback on our formatting engine. I have reproduced the issue and we are working on it.