Reputation: 21328
Whenever I perform silent cleanup my methods format like this:
public void MyMethod(
IEnumerable<IPaymentMethod> paymentMethods,
IPaymentMethod expected,
bool isDirectBill) {
and I want it to format like so:
public void MyMethod(
IEnumerable<IPaymentMethod> paymentMethods,
IPaymentMethod expected,
bool isDirectBill)
{
For the life of me i can't find the settings for this
Upvotes: 1
Views: 92
Reputation: 25019
Go to ReSharper Options -> Code Editing -> Code Cleanup
. Check the profile used for the silent clean-up (on bottom) and make sure Reformat Code
option is checked for this profile.
Then go to Code Editing -> C# -> Formatting Style -> Braces Layout
and check preferences for a method declaration.
Upvotes: 2