与多个参数功能ReSharper的右括号缩进 [英] Resharper closing parenthesis indentation on function with multiple arguments
本文介绍了与多个参数功能ReSharper的右括号缩进的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在C#中的一些代码的缩进ReSharper的是这样的:
I have some lines of code in c# that Resharper indents like this:
Console.WriteLine("Hello");
this.MySuperFunction(
argument1,
argument2,
argument3
);
Console.WriteLine("World");
由于我个人的编码风格,我想上面出现与右括号(或括号)没有任何压痕,像这样:
Due to my personal coding style, I would like the above to appear with the closing parenthesis (or brace) without any indentation, like so:
Console.WriteLine("Hello");
this.MySuperFunction(
argument1,
argument2,
argument3
);
Console.WriteLine("World");
我试图与ReSharper的各种选项玩耍,但找不到任何。有没有一种方法,我可以使这项工作?
I tried playing with the various options on Resharper, but couldn't find any. Is there a way I can make this work?
推荐答案
更新至2016.2版本。一个选项的意图的方法调用'括号的出现在这个版本:
Update to 2016.2 version. An option Intent method calls' parenthesis appeared in this version:
这篇关于与多个参数功能ReSharper的右括号缩进的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文