Current EAP version (1757) deleting comments from code
Is anyone else seeing R# remove comments (// comments, not ///) from code during refactoring, using 1757.
For example:
int x = 20; // This is a constant
Console.WriteLine(x);
If I do an alt-enter on the 'x', and convert to const, I get:
const int x = 20; [Note - the comment has gone]
I'm sure I had something similar on a different refactoring the other day, where a load of comments went missing.
I'm used to // comments getting misplaced by R# during reformatting, but is deleting them altogether a new thing?
Please sign in to leave a comment.
Hello Will,
Thank you for reporting this problem! I've filed a bug-report: http://youtrack.jetbrains.net/issue/RSRP-196976
and you're wecome to monitor its status.
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"