Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix resharper line wrapping indents

Tags:

resharper

Resharper seems to have gone berserk and is wrapping lines without an indent, i.e. they are hugging the margin. This uglyness makes me rip my shirt off and go wild.

    else
                {
                    gridView1.SetRowCellValue(gridView1.FocusedRowHandle, "PRIORITY",
polcvgSetCollection.Max(p => p.PRIORITY) + 1);                
                }

See the line popping out of the brace. It's disgusting.

Can anyone help fix this? I've looked through the settings for Resharper->Options->Line Breaks and can't find which one will fix it. Cheers.

like image 555
burnside Avatar asked Apr 16 '09 13:04

burnside


1 Answers

Is this possibly Visual Studio's Word Wrap rather than a Resharper setting? Try turning VS's wrapping off with:

Tools - Options - Text Editor - All Languages - Word Wrap

like image 57
serg10 Avatar answered Oct 16 '22 01:10

serg10