5

This is silly, but when I have something like this

SomethingStupid.Whatever(string a, string b, string c);

And then I break them off like this:

SomethingStupid.Whatever(string a,
     string b,
     string c);

My code cleanup moves them to that position, when I'd like to see them here:

SomethingStupid.Whatever(string a,
                         string b,
                         string c);

For the life of me I can't figure out where this setting exists, any ideas?

chum of chance
  • 6,200
  • 10
  • 46
  • 74

1 Answers1

6

You need to change the setting at ReSharper -> Options -> C# -> Formatting Style -> Other -> Align Multiline Constructs -> Method Parameters. Enabling the option will line up you multiline method parameters with each other as you want.

adrianbanks
  • 81,306
  • 22
  • 176
  • 206
  • Does not work when we have methods that expects for expressions of type: `Expression>`. Do you know if is there any feature to fix it? – Felipe Oriani Jul 15 '15 at 15:12