R# 4.1 comment handling
Hi there,
not sure if it is only my problem (misuse of R# options) but imagine a code line like this one:
int deviceNum = 1; // TODO: Initialize to an appropriate value
Well, R# says to me (in the quickfix) that this declaration could be converted to const. When I say "sure, go ahead" (my keyboard shortcut is CTRL+ENTER to show the QuickFixes options) this is the line that R# gives to me:
const int deviceNum = 1;
that would be fine but the comment vanished... This comment wasn't important but it shouldn't happen.
I also noticed this behavior when using the move line up or down shortcuts (CTRLSHIFTALT + UP or DOWN).
All the comments vanishes when using this 2 R# features (as far as I can tell).
Does anyone has this same problem?
Could it be a Option that I have turned on/off for mistake? If so, could you indicate me which one is it?
Thank you,
Luís
Please sign in to leave a comment.
I've seen the same behavior a few times well, but I keep forgetting to post
a message about it. Most of our comments are on the line above the statement
so it doesn't happen very often. It is confusing when it does happen,
though.
"Mic Boucinha" <micboucinha@netcabo.pt> wrote in message
news:19556530.122101220952343199.JavaMail.jive@app4.labs.intellij.net...
>
>
>
>
>
>
>
>
Thank you for the report.
This problem will be fixed in the next release
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Mic Boucinha" <micboucinha@netcabo.pt> wrote in message
news:19556530.122101220952343199.JavaMail.jive@app4.labs.intellij.net...
>
>
>
>
>
>
>
>