13. Advanced Editing
In Chapter 7, you explored the Source Editor and some of its features. In this chapter, you’ll explore a few more powerful features and familiarize yourself with some additional tips and tricks to make better use of the editor.
The Edit All in Scope command is a simple and often overlooked editor feature. As its name suggests, you can edit a symbol name and automatically change each instance of it within the current scope at the same time.
Consider a local variable named
bob. You’ve decided a variable should sound more formal, so you want to change
bob is reused throughout the current scope of a long method, it would be tedious and error-prone to find and rename each instance, even ...