Editing a Symbol Everywhere in a Scope
Simultaneously modify all the occurrences of a symbol within a scope with the Edit All in Scope feature. For example, you can change the name of a local variable or parameter everywhere in a scope at the same time.
Place the insertion point in the symbol you want to edit.
When the pop-up menu appears, select Edit All in Scope.
Edit the symbol.
Placing the insertion point in a symbol underlines all occurrences of that symbol in the scope and lets you see the extent to which it is used.
Choosing Edit All in Scope from the pop-up menu selects all occurrences of the symbol. As you type new text, all selections of the symbol change simultaneously.