🕸️Find All References
Also known as Find Usages, Find References, Show References
An editor command. It lists each place in the code a name is used.
Think of it like
It is like asking who took out a book. You get each name on the card.
Example
Before Emma changes how getPrice works, she runs find all references. It lists 6 calls in 4 files, and she checks each one.
Why it matters
A change to one function can break every caller. This shows you all of them first.
Definition
Common mistake
Key takeaways
- 1Every use. Each line that touches the name.
- 2By meaning. Same name, other thing: left out.
- 3Check first. Look before you change.