dotnet/roslyn

Automatically Adjust Function Parameter Indentation Upon Renaming a Function

Aperta

#37.070 aperta il 9 lug 2019

 (3 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEFeature - RenameIDE-Formatterhelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

Original Developer community feedback

Rename the following function from foo to foobar will throw off the parameter alignment

void foo(parameter a,
         parameter b)
{
    ...
}

foo > foobar

void foobar(parameter a,
         parameter b)
{
    ...
}

I would like Visual Studio to automatically adjust the parameter alignment. Note that parameter alignment is one of the formatting options in Visual Studio.

Guida contributor