If I ask ReSharper to reformat the current code:
SomeMethodThatIsGivenAnAnonymousMethod(delegate
{
Test();
});
Then it reformats it like this:
SomeMethodThatIsGivenAnAnonymousMethod(delegate
{
Test();
});
I can at most coax it to line up the braces with the delegate keyword. Is there any way I can coax it into indenting it back to the original way?
Try Formatting Style | Other | Indent Anonymous Method Body. If I turn this off, I get the original format you describe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With