Simple autoimplemented properties are formated right with Code Rush Cleanup:
C#public sealed class AddressView
{
public string City { get; set; }
public string Street { get; set; }
}
…but autoimplemented properties with an attribute are counted as "multiline" and get a unnecessary line break:
C#[DataContract]
public sealed class Bank
{
[DataMember]
public string Code
{ get; private set; }
}
I could not found any valid Setting to get both formated in the "right" way.
The additional linebreak depends directly on the [DataMember] attribute.
(Settings sreenshot)
settings
Hello Silvio,
Thank you for the code samples and screenshot. I have reproduced this behavior. Please give us some time - we will find the way to resolve this issue.