dotnet/roslyn

Automatically Adjust Function Parameter Indentation Upon Renaming a Function

Ouverte

#37 070 ouverte le 9 juil. 2019

 (3 commentaires) (0 réaction) (0 personne assignée)C# (4 257 forks)batch import
Area-IDEFeature - RenameIDE-Formatterhelp wanted

Métriques du dépôt

Stars
 (20 414 étoiles)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

Description

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.

Guide contributeur