I want to "find all references" to a control on my windows form (in designer mode). This is the painful procedure I currently use:
- Click on the control
- Goto the "Name" in the property sheet
- Copy the name of control in clipboard
- Perform a find in all files, pasting the name of control to find.
- Click on an arbitrary result then right-click and then "find all references"
I wonder if I miss something or there is really no way to perform such operation in simpler ways. Also I recently installed Resharper (for sake of other features).
Please tell me if there is any built-in way in VS or any methods provided by Resharper or its plugins to ease such operation,
I use VS 2010 SP1 C# and Resharper V7.0.
EDIT: It is much appreciated to mention whether your whole proposed solution or portions of it are based on VS, or Resharper when answering. (Because I installed Resharper very recently and not gone deep in its features yet), thanks a lot.
Acknowledge & Conclusion: Thanks to thersch: His answer is like a full-article and very informative for community. Thanks to wal: He pointed two delicate tips (sorted-list view, skipping name look up). Thanks to both of you: You complemented the missing parts together.
Current Status: I reported the issue to developement and have requested this as a feature to be implemented in later versions of the resharper, visit the link below for tracking the current status of the issue from the tool vendor :
https://youtrack.jetbrains.com/issue/RSRP-429747
DISCLAIMER: I have no affiliation with the tool / vendor, just a user.