T O P I C R E V I E W |
khb |
Posted - Nov 28 2006 : 08:38:57 AM I marked some words in a comment and noticed, that the refactoring menu offers "Extract Method" to me (only option). I tried it to see what happens: The marked text was put in the new function, but as code and not as a comment. The function call was placed in the original comment. This doesn't make any sense. I think that the refactoring menu button shouldn't come up at all in this case.
VC6, Win XP.
Regards, Marcus. |
2 L A T E S T R E P L I E S (Newest First) |
khb |
Posted - Nov 29 2006 : 02:31:15 AM I'd be really happy, if I'd do at least half sensible things all the time
Regards, Marcus. |
feline |
Posted - Nov 28 2006 : 3:29:00 PM I am seeing the same effect here. Extract Method does rely on the programmer doing something half sensible Still it probably should not be offered on comments.
case=3826 |
|
|