Prevent Visual Studio 2015 from removing line continuation characters (_) in VB.NET files

前端 未结 3 1011
抹茶落季
抹茶落季 2020-12-15 20:19

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:

\'Be         


        
3条回答
  •  清酒与你
    2020-12-15 21:18

    Just CTRL-Z to undo the removal of the underscores right after Visual Studio (2015-19) "fixes" it for you. This leaves the "Pretty Listing" feature turned on but restores the missing underscores. Thanks David Carta for the answer left as a comment.

提交回复
热议问题