dotnet/roslyn

Automatically Adjust Function Parameter Indentation Upon Renaming a Function

開放

#37,070 建立於 2019年7月9日

 (3 則留言) (0 個反應) (0 位負責人)C# (4,257 個分叉)batch import
Area-IDEFeature - RenameIDE-Formatterhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南