Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactoring question?

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
schoenherr Posted - Oct 09 2006 : 03:46:47 AM
can anybody explain what the expression $MethodBody$ in autotext entry "CreateImplementaion2 is for ?

thanks
m.schoenherr
3   L A T E S T    R E P L I E S    (Newest First)
support Posted - Oct 09 2006 : 3:19:27 PM
Autotext for Create Implementation is used also by Move Implementation to Source File so $MethodBody$ needs to remain where it is.

As well, the autotext entry for Create Implementation is used by Extract Method when programming in pure C. (The entry for Extract Method in not used.) $MethodBody$ tells Extract Method where to place your implementation.

Leave $MethodBody$ where it is and you'll be fine. It gets resolved to nothing when not needed.

We updated our documentation accordingly.

http://www.wholetomato.com/products/features/createImplementation.asp
feline Posted - Oct 09 2006 : 2:36:53 PM
it seems Create Implementation can be used for "Move Implementation" and "Extract Method", and when these are happening $MethodBody$ is required. the rest of the time it is just ignored.
feline Posted - Oct 09 2006 : 07:03:32 AM
I am not sure it is ever used, at least not now. Using VA 1538 there are 4 refactoring entries for C++, and "Refactor Extract Method" also has a $MethodBody$ entry.

From memory "Refactor Create Implementation" used to be used by both Create Implementation and Extract Method, but now there are two separate rules for these two operations.

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