I would like resharper to indent my code the following way:
var modification = shortUrlIndexCollection.FindAndModify
(
Query.Or
(
Query.And
(
Query.EQ("_id", "Index"),
Query.EQ("LockId", Guid.Empty)
),
Query.LT("UnlockOn", now)
),
SortBy
.Null,
Update
.Set("LockId", guid)
.Set("UnlockOn", now + reserveDuration),
true
);
But instead it formats my code the following way:
var modification = shortUrlIndexCollection.FindAndModify
(
Query.Or
(
Query.And
(
Query.EQ("_id", "Index"),
Query.EQ("LockId", Guid.Empty)
),
Query.LT("UnlockOn", now)
),
SortBy
.Null,
Update
.Set("LockId", guid)
.Set("UnlockOn", now + reserveDuration),
true
);
According to Custom Brace formatting with Resharper I have already tried the continuous line indent multiplier
option, but it gives wrong results...