Break lines and wrapping in auto formatting of Visual Studio with ReSharper

Solution for long lines:

ReSharper, menu OptionsCode EditingC#Formatting StyleLine Breaks And Wrapping.

And disable Wrap long lines:

Enter image description here

And it really makes me crazy!


In ReSharper's settings, in the Languages section, you can change the formatting style of your C# code. The option you're looking to disable is something along the lines of "Indent anonymous method body." You can also look through the options to further customize the formatting style to your preference.