Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Deeper scoped refactoring

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
foxmuldr Posted - Dec 23 2013 : 10:26:47 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 23 2013 : 1:55:15 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000