开发者

Resharper indenting comments between if and corresponding else

I am looking for the setting to tell Resharper to not indent comments that come between an if and its corresponding else.

Example:

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

I want it to format like this:

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

I've gone through the Resharper indenting and line settings but am u开发者_开发百科nable to find the correct settings. What settings do I need to set to get the desired formatting?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜