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
 Changing declaration changes all subsequent ref.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

straightwaytek
Ketchup Master

Canada
66 Posts

Posted - Aug 22 2005 :  10:28:02 PM  Show Profile
Hello,
I have a kind of interesting idea for a new Visual Assist X feature. How about if you change the name of a variable later at declaration, all subsequent references to the variable gets changed along with the change to the declaration of the variable?
For instance if you had :
int iCounter = 0;
iCounter = iNumOfRows * iNumOfCols;
iCounter++;

It would change to this once you change the name of the variable declared.

int Count = 0;
Count = iNumOfRows * iNumOfCols;
Count++;

Maybe also have it so that there is an option to change what scope it affects (class-wide,global,function,etc).
Sincerely,

James Simpson
Straightway Technologies Inc.

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Aug 23 2005 :  3:54:25 PM  Show Profile
this is covered under the broad heading of refactoring your code. there are no immediate plans to add this to VAX, but it is a popular request, so something may come in time.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000