ReSharper流利的缩进 [英] ReSharper fluent indentation
本文介绍了ReSharper流利的缩进的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
this.Tabs.Add(bb => bb
.Horizontal(h => h
.Vertical(v => v
.Box(0,upperView,)
.Box(1,mainView, ))));
我得到:
this.Tabs.Add(bb => bb
.Horizontal(h => h
.Vertical(v => v
.Box(0 ,upperView,)
.Box(1,mainView,))));
但我希望它保持不变。如何做到这一点?
解决方案
也许取消选择
会降低效果。
(假设您使用的是C#)。
When I format this piece with ReSharper:
this.Tabs.Add(bb => bb
.Horizontal(h => h
.Vertical(v => v
.Box("0", upperView, "")
.Box("1", mainView, ""))));
I get:
this.Tabs.Add(bb => bb
.Horizontal(h => h
.Vertical(v => v
.Box("0", upperView, "")
.Box("1", mainView, ""))));
But I want it to stay the same. How would I do this?
解决方案
Maybe deselecting
- ReSharper →
- Options →
- Languages →
- C# →
- Formatting Style →
- Other →
- Align Multiline Constructs →
- Expression
reduces the effect.
(Assumed you are using C#.)
这篇关于ReSharper流利的缩进的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文