Prevent Visual Studio 2015 from removing line continuation characters (_) in VB.NET files
问题 I'm opening some old VB.NET projects in Visual Studio 2015 and when I edit the code, VS changes the syntax: It removes "_" in concatenations: 'Before myString = "ABC" & _ "DEF" 'After myString = "ABC" & "DEF" or add a space before !: 'Before myDatatable.Rows(0)!myColumn 'After myDatatable.Rows(0) !myColumn This syntax isn't compatible with Visual Studio 2010 or 2013. How can I disable this changes? 回答1: I had the same problem, and I was able to fix it by disabling the "Pretty listing" option