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
 Feature Requests
 Rename variables behavior
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

macjohnmcc
New Member

USA
6 Posts

Posted - Jul 07 2009 :  4:53:10 PM  Show Profile  Reply with Quote
When I rename the variables that are in the parameters for a function definition it renames the parameter and the references but does not rename the values in the declaration (I'm modifying member functions in a class).

This doesn't really bite you until you go and later use the Change Signature option on the function and it puts the variable names from the declaration over the names in the function definition.

Also renaming variables in the declaration should rename them in the definition as well. Consistency is good. Also not hosing yourself later using Change Signature is even better!


feline
Whole Tomato Software

United Kingdom
18752 Posts

Posted - Jul 09 2009 :  09:51:23 AM  Show Profile  Reply with Quote
Currently this is a known limitation of Rename, and it is something we are looking into fixing:

case=1140

for now we recommend using Change Signature to rename the parameter, since this is designed to update both the declaration and the implementation.

zen is the art of being at one with the two'ness
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