问题描述
我已经查看了选项,但仍然无法找出它为什么会这样做。这是之前的:
var textLabel = new TextLabel()
.Bind(Label.TextProperty,nameof(Text1),source: this);
这是之后:
var textLabel = new TextLabel().Bind(Label.TextProperty,source: this);
我不希望将它们全部添加到同一行,但不知道如何禁用此更改。
有没有对 ReSharper 有一定了解的人不知道如何阻止这种情况?
解决方法
我找到了答案。我需要更改以下内容:
C# > Formatting Style >
Line Breaks and wrapping >
Arrangement of Method signatures >
Wrap formal parameters >
Chop always