How can I reduce indentation of anonymous method parameters
eg:
return DAOFactory.Use(true, dao =>
{
return new ExactValueBudgetKeyComponent()
{
DocumentFieldKey = documentField.FieldName,
ExactValueId = fieldValue.ValueId
};
});
I really want this to look like:
return DAOFactory.Use(true, dao =>
{
return new ExactValueBudgetKeyComponent()
{
DocumentFieldKey = documentField.FieldName,
ExactValueId = fieldValue.ValueId
};
});
I cant seem to find any settings taht control this as I want
Please sign in to leave a comment.
Hello David
Try turning off the 'Indent anonymous method body' option under ReSharper | Options | Code Editing | C# | Formatting Style | Other. Let me know if this helps. Thakn you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
that did it . Thanks