1

Resolved

R# 'Cleanup code' adds each run a new blank line above commentaries within object initializer

description

befor code cleanup

var temp = new Customer
{
    Id = 1,
    LastName = "Mayers",
    Firstname = "John",
    ////Age = 20,
    Street = "Elmstreet 1"
};


after first code cleanup
var temp = new Customer
{
    Id = 1,
    LastName = "Mayers",
    Firstname = "John",

    ////Age = 20,
    Street = "Elmstreet 1"
};


after second code cleanup
var temp = new Customer
{
    Id = 1,
    LastName = "Mayers",
    Firstname = "John",


    ////Age = 20,
    Street = "Elmstreet 1"
};


after third code cleanup
var temp = new Customer
{
    Id = 1,
    LastName = "Mayers",
    Firstname = "John",



    ////Age = 20,
    Street = "Elmstreet 1"
};


and so on...

comments

andyr wrote Aug 1, 2013 at 3:50 PM

Fixed in 4.7.46