Resharper adding a lot of spaces between method parameter type and name

47 Views Asked by At

Given the following code:

internal interface IMyInterface
{
    bool MethodOne(string parameter);
    bool AVeryVeryVeryVeryVeryLongMethodName(string myParameter);
}
 
internal class MyClass : IMyInterface
{

}

I let Resharper implement the missing members from the interface into MyClass: enter image description here

This ends up with many spaces between parameter type and name for MethodOne,highlighted in yellow: enter image description here

How can I configure Resharper to get rid of this spacing? What I want to have is this:

enter image description here

1

There are 1 best solutions below

1
me.at.coding On

For me disabling Code Editing - C# - Formatting Style - Tabs, Indents, Alignment - Align similar code in columns -> Multiline method signature worked to fix this, even though it's not a multiline method signature