codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Warn about verbatim string cleanup

Open NightProgramming opened this issue 4 years ago • 2 comments

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.

NightProgramming avatar Sep 13 '21 19:09 NightProgramming

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

codecadwallader avatar Sep 24 '21 12:09 codecadwallader

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!

NightProgramming avatar Sep 24 '21 17:09 NightProgramming