Linebreak rule/formatter

There is a rule to change this:

protected override Assembly[] GetViewModelAssemblies()
 {
 var list = new List<Assembly>();
 var assemlies = base.GetViewModelAssemblies();
 list.AddRange(assemlies);
 list.Add(typeof(MainViewModel).Assembly);
 return list.ToArray();
 }

into this:

protected override Assembly[] GetViewModelAssemblies()
 {
 var list = new List<Assembly>();
 var assemlies = base.GetViewModelAssemblies();

 list.AddRange(assemlies);
 list.Add(typeof(MainViewModel).Assembly);

 return list.ToArray();
 }

? (i.e. group variable declarations and force a line break before and after each group. Same in return)

1 comment
Comment actions Permalink

Hello

  It is not possible in ReSharper.

Thanks!

0

Please sign in to leave a comment.