Reputation: 148524
I'm using Resharper 8. ( visual studio 2010).
I've enabled "wrap long lines"
Bu when I have long lines it does wrap them but it starts at "X=0"
at the next line ( see number "2" : )
https://i.sstatic.net/mfdz3.png
Question :
Is there any configuration ( VS || R#) so that when 1
is wrapped , 2
will start under 3
?
Upvotes: 1
Views: 158
Reputation: 18573
This isn't related to ReSharper. This is how Visual Studio handles wrapping long lines - it's still a single line of text, as you can see by the line number, but it's wrapped to all appear on the screen at once.
If you want to reformat the text, you can simply enter a carriage return, e.g. after the if
statement, and the text will then move to a new line and should be indented under your number 3. ReSharper can do this for you with code cleanup (ReSharper -> Tools -> Code cleanup)
Upvotes: 1