Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Extract method and comments
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

khb
Tomato Guru

Germany
337 Posts

Posted - Nov 28 2006 :  08:38:57 AM  Show Profile  Reply with Quote
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.

Edited by - khb on Nov 28 2006 08:39:23 AM

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Nov 28 2006 :  3:29:00 PM  Show Profile  Reply with Quote
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

zen is the art of being at one with the two'ness
Go to Top of Page

khb
Tomato Guru

Germany
337 Posts

Posted - Nov 29 2006 :  02:31:15 AM  Show Profile  Reply with Quote
I'd be really happy, if I'd do at least half sensible things all the time

Regards,
Marcus.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000