I work with resharper and when I clean my code I get this layout:
mock.Setup(m => m.Products).Returns(new List<Product>{new Product{Name = "Football", Price = 25}, new Product{Name = "Surf board", Price = 179}, new Product{Name = "Running Shoes", Price = 95}}.AsQueryable());
I’d rather have:
mock.Setup(m => m.Products).Returns(new List<Product>{
new Product{Name = "Football", Price = 25},
new Product{Name = "Surf board", Price = 179},
new Product{Name = "Running Shoes", Price = 95}
}.AsQueryable());
is this possible?
You should be able to do what you want by using the Resharper Options (Main Menu -> Resharper -> Options).
There are two places you need to look:
And here: