1

我正在寻找设置来告诉 Resharper 不要缩进 if 和对应的 else 之间的注释。

例子:

if()
{
}
    //Resharper keeps indenting this line
else
{
}

我希望它的格式如下:

if()
{
}
//The comment should line up with the braces and the "else"
else
{
}

我已经完成了 Resharper 缩进和行设置,但找不到正确的设置。我需要设置哪些设置才能获得所需的格式?

4

0 回答 0