ReSharper's formatting keeps placing string interpolations on different lines, such as:
$" whatever = {somethingelse}"
becomes:
$" whatever={
somethingelse
}"
Any idea which option this is?
ReSharper's formatting keeps placing string interpolations on different lines, such as:
$" whatever = {somethingelse}"
becomes:
$" whatever={
somethingelse
}"
Any idea which option this is?
"Wrap object and collection initializer" is the setting you're after. Set it to chop if long and then if it's still wrapping incorrectly you can modify the "Right Margin (columns)" number to a much larger value and it will stop the behavior. Though by expanding the columns resharper will stop wrapping anything with fewer characters on the line than the value you set so it may make other reformatting perform in an undesirable way.