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
 Deeper scoped refactoring
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

foxmuldr
Tomato Guru

USA
416 Posts

Posted - Dec 23 2013 :  10:26:47 AM  Show Profile  Reply with Quote
Consider:
01: for (i = 0; i < 5; i++)
02: {
03:     for (i = 0; i < 10; i++)
04:     {
05:         do_something();
06:     }
07: }


It would be nice to go to the variable "i" on line 03 and have a deeper-scoped rename of "i" to "j" (for example), so that it doesn't affect all instances of "i" but just those within its deeper scope (from line 03 through 06).

Note: This could be a rename dialog option, such as "deeper scoped only" to change the line-assigned checkboxes.

Edited by - foxmuldr on Dec 23 2013 10:28:11 AM

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Dec 23 2013 :  1:55:15 PM  Show Profile  Reply with Quote
I really like this idea, I can see how this would be quite useful sometimes

I have put in a feature request to see what our developers make of this:

case=79189

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