Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Refactoring: Promote Local Variable to Parameter

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
agilenberg Posted - May 09 2010 : 2:23:49 PM
Hello,

Would it be possible to add the re-factoring Promote Local Variable to Parameter in c++?

Example:

void mymethod()
{
int myvariable;

myvariable = 5;
}

Apply Promote Local Variable to Parameter Re-factoring:

void mymethod(int myvariable)
{
myvariable = 5;
}

Thank you,

Pavel
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 14 2011 : 11:34:23 AM
This is still on our list of feature requests, and we are considering adding this ability at some point. For now are you aware that you can use Create From Usage to add a parameter to a function?

http://www.wholetomato.com/products/features/createFromUsage.asp

This is not quite the same, but hopefully you will find it helpful.
agilenberg Posted - Feb 12 2011 : 01:58:23 AM
Are there any plans to implement this feature?

Thank you,

Pavel
accord Posted - May 10 2010 : 4:23:21 PM
I have put in a feature request to see what the developers make of this:

case=43947

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