T O P I C R E V I E W |
_david_ |
Posted - Jan 09 2008 : 08:56:10 AM If the feature 'Change Signature' is used, all comments between signature (declaration of the function) and the bracket at the beginning of the function body are removed.
Before: //--------------------------- void CClass::Function(int a) //--------------------------- { ... }
After: //--------------------------- void CClass::Function(int b) { ... }
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jan 10 2008 : 5:45:14 PM I have put this down as a high priority bug fix, but unfortunately I am not sure when it will be fixed.
You may find using CTRL-X and then CTRL-V to cut and paste just the function signature line to below the comment before running Change Signature helps. |
_david_ |
Posted - Jan 10 2008 : 04:44:51 AM Thanks for your answer. To your question: Yes, I have a lot of a code like this, because I use comments between function declaration and body very often. And it happens it every such a case. |
feline |
Posted - Jan 09 2008 : 1:07:32 PM I am seeing the same effect here. Thank you for the clear description.
case=11242
Do you have a lot of code like this? Or does this only happen occasionally?
Copying the comment that gets deleted, so that it will show up in VA's CTRL-SHIFT-V paste menu should help a bit, so that it is easy to re-add after using Change Signature |