Wrap field declaration after name?
I have a field declaration like the following:
private static readonly ILog Log = LogManager.GetLogger(typeof(MyClass));
When this line is longer than my R# "hard wrap" length, it gets wrapped to look like this:
private static readonly ILog
Log = LogManager.GetLogger(typeof(MyClass));
I would like to change the formatting so that this line gets wrapped after the '=', or at least after the variable name:
private static readonly ILog Log =
LogManager.GetLogger(typeof(MyClass));
I can't seem to find any settings under Code Editing > C# > Formatting Style > Line Breaks and Wrapping that appear to affect this line of code. What setting can fix this format?
Please sign in to leave a comment.