Resharper clean code line breaks with properties and fields -
here issue. want put line breaks between properties , not fields.
here getting:
private string _field1; private string _field2; private string _field3; public string property1 { get; set; } public string property2 { get; set; } public string property3 { get; set; }
here want:
private string _field1; private string _field2; private string _field3; public string property1 { get; set; } public string property2 { get; set; } public string property3 { get; set; }
does have idea how resharper have type of line breaks? have resharper puts lines breaks between of fields , properties or no line breaks. cannot seem find right settings want.
go resharper|options , under code editing, navigate c#→formatting style→blank lines. now, need change 2 separate options:
- change keep max blank lines in code value 0 (zero)
- change around single line field value 0 (zero)
... , you're done!
Comments
Post a Comment