That's not the issue. It's just a matter of a a good IDE experience, much like highlighting every instance of the variable under the cursor. It's not necessary, but does give useful feedback to the user.
Honestly the situation I am describing would suggest your code needs to be restructured to avoid the confusion in the first place, but that isn't a reason not to add a useful feature.