codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.89k stars 356 forks source link

Warn about verbatim string cleanup #841

Open NightProgramming opened 3 years ago

NightProgramming commented 3 years ago

There should be a prominent warning somewhere that CodeMaid will clean up any verbatim string, meaning it changes the literal string definition and thus the string value by removing empty lines, removing trailing spaces, etc. I ran into this behavior myself which can be very dangerous potentially.

codecadwallader commented 2 years ago

Thanks for reporting the issue. There is a related issue here: #691

NightProgramming commented 2 years ago

The existing issues deal more with wanting the problem to be fixed I guess. I made this issue here as a reminder that somewhere a disclaimer / warning / info text / whatever, should inform new users about this potential pitfall. Afterwards this issue can be closed while leaving open the other related issues until actually fixed. Thanks!