Code Cleanup Options
When i run a code cleanup my attributes get move inline, which I dont like, I perfer them on top. How do I change this?
I get this
[Required] public int Day { get; set; }
I perfer this
[Required]
public int Day { get; set; }
Please sign in to leave a comment.
Open Resharper settings. Section: Code Settings, select your language, Formatting Style -> Line Breaks & Wrapping ->Arrangement of Attributes -> Keep existing arrangement of attributes (to leave them as they are) or otherwise - Place Field Attributes etc. on same line setting to the way you like it.
Had the same question and as i found yours now, with no reply, i thought i test out. :)
The one I changed was "Place attribute section list on a seperate line if it is longer than" Set to 1.