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 |