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; }

1
2 comments
Avatar
Permanently deleted user

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. :)

0
Avatar
Permanently deleted user

The one I changed was "Place attribute section list on a seperate line if it is longer than"    Set to 1.

 

0

Please sign in to leave a comment.