You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently properties for object initializers are put on different lines of the expression length is greater than max line length and on same line otherwise, which looks strange.
Input:
var sort = new CustomSort()
{
Order = OrderBy.Ascending,
Field = CustomSortBy.Title
};
var sort = new CustomSort()
{
Order = OrderBy.Ascending,
Field = CustomSortBy.Title,
AnotherField = CustomSortBy.Name
};
Output:
var sort = new CustomSort() { Order = OrderBy.Ascending, Field = CustomSortBy.Title };
var sort = new CustomSort()
{
Order = OrderBy.Ascending,
Field = CustomSortBy.Title,
AnotherField = CustomSortBy.Name
};
Expected behavior:
var sort = new CustomSort()
{
Order = OrderBy.Ascending,
Field = CustomSortBy.Title
};
var sort = new CustomSort()
{
Order = OrderBy.Ascending,
Field = CustomSortBy.Title,
AnotherField = CustomSortBy.Name
};
The text was updated successfully, but these errors were encountered:
Currently properties for object initializers are put on different lines of the expression length is greater than max line length and on same line otherwise, which looks strange.
Input:
Output:
Expected behavior:
The text was updated successfully, but these errors were encountered: