I'm using Visual Studio 2010 Premium with Resharper 8.2.0.2160. I want to wrap invocation arguments only when the line exceeds 120 characters. This is done fine in the preview area (can be demonstrated by setting Right margin to 25). This is not working in the code: The invocation arguments are wrapped always.
Here are my resharper settings: Resharper settings
Actual result:
FloatingRange floaty = new FloatingRange(
old.From,
old.To,
old.Brackets);
Wanted result:
FloatingRange floaty = new FloatingRange(old.From, old.To, old.Brackets);
I've tried several options, the arguments are always wraped
What setting can I change to make it so the arguments are not wrapped when using short lines? I tried setting "Wrap invocation arguments" to "Chop if long", but this did not help.