dotnet/roslyn

Automatically Adjust Function Parameter Indentation Upon Renaming a Function

Open

#37,070 opened on Jul 9, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-IDEFeature - RenameIDE-Formatterhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 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.

Contributor guide