T O P I C R E V I E W |
jan.antonis |
Posted - Oct 25 2011 : 06:11:22 AM If I have a function in my cpp file. e.g.
ErrorType CMyClass::MyFunction( CMyPassedClass& myPassedVariableName ) { }
and I right click on the "myPassedVariableName" string and choose Refactor->Rename. Then select a new variable name e.g. "myPassedVariableName2", VisualAssist will correctly rename all usage of the variable in the cpp file, but will not change the variable name in the header file.
I realize the software will compile like this and the functionality of the code will be unaffected, but for clarity I need the variables to have the same name. Perhaps there is a setting I can change (I have looked but cannot find one).
thanks JA |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Oct 25 2011 : 11:09:35 AM Currently this is a known limitation of rename that we are looking to fix:
case=1140
In this situation, if you use Change Signature instead, this should update all instances of the parameter name in the implementation. |
|
|