Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Extract method and comments

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000