I assume, I have accidentally set up some VS2017 automatic C# text formatting options and my code was automatically formatted. As a result, all long lines were broken into two or more lines. It looks almost like all wrapped up lines in text editor were broken into several lines. I wonder if it is possible to automatically remove all line continuations in the whole code file?
Asked
Active
Viewed 307 times
1
-
Does you code now have physical line breaks or you just turned on the "Word wrap" option? – Sergey Vlasov Jan 30 '19 at 04:03
-
My code has CRLF line breaks now, not word wrapping. – MBK Jan 30 '19 at 18:56
-
1I have found out that the line breaks were added by ReSharper installed on my pc, not by VS 2017 as I thought before. I turned off the ReSharper option as advised in https://stackoverflow.com/questions/14043776/break-lines-and-wrapping-in-auto-formatting-of-visual-studio-with-resharper. As for my code, I corrected it manually removing every single line break in the file. – MBK Jan 30 '19 at 21:36