Resharper standalone cleanup. The clean is not identical with the one in Visual studio.
Hello everybody,
I'm trying to write a script in order to cleanup all the files changed since the last git commit.
When i'm executing the next command:
.\cleanupcode.exe [path_to_my_solution] --include=[one cs file from this solution] --settings=[Prefix]\AppData\Roaming\JetBrains\Shared\vAny\GlobalSettingsStorage.DotSettings] --profile=[name of a my specific profile cleanup]
The cleanup is done on the file i'm giving as parameter, but the cleanup is not full.
For example :
void function(var a, var b, var c,
var d,
var e);
should become:
void function (var a,
var b,
var c,
var d,
var e);
but become:
void function (var a, var b, var c,
var d,
var e);
Do you know why?
Thank you,
Please sign in to leave a comment.
Is anybody from the Resharper team can help me?
Hello Jeremy,
Sorry for the delay in responding.
Could you please provide GlobalSettingsStorage.DotSettings file? Have you performed any changes with it?
There should be the following settings specified:
I'd suggest changing these settings in different dotSettings file, e.g. solution settings layer file.
Thank you.
Hello,
Thank you for your answer and it indeed missed in the file.
Do you know why these lines had missed? Because I have used the save option from resharper cleanup profil.
Thank you
I've talked with a colleague. Apparently these lines are not written in the cleanup profil we use, but there is a kind of overwrite by VS/Resharper when cleaning up because there still are those applies on the code (indenting).