dotnet/roslyn

Automatically Adjust Function Parameter Indentation Upon Renaming a Function

Aberta

#37.070 aberto em 9 de jul. de 2019

 (3 comentários) (0 reação) (0 responsável)C# (4.257 forks)batch import
Area-IDEFeature - RenameIDE-Formatterhelp wanted

Métricas do repositório

Stars
 (20.414 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)

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.

Guia do colaborador