find-all-references

Finding all references to an Object in Idea

烂漫一生 提交于 2019-12-22 09:07:53
问题 Is there a shortcut key or an option for Intellij-IDEA IDE to find all references to a Class in a particular project? For example, I have created my own Class to hold a String and an int and I have made references through the project. The project is quite large and I don't want to have to search through each file manually. Thanks in advance. 回答1: Looks like all you need to do is Right-click on the Class and select Find usages , or Alt+F7. Here is a more detailed description http://www

Find all reference on all projects in solution

独自空忆成欢 提交于 2019-12-12 11:50:44
问题 My solution contains multiple projects (say P1, P2). In project dependencies, I set P2 to depend on P1, so P2 uses some classes in P1. When I do a Find All References on a class/method of P1, the result shows only the occurences in P1; not the occurences used in P2. Is there a way to have Find All References work on the entire solution? 回答1: Project -> Project Dependencies is only for describing additional non-link related dependencies. To specify a link dependency for unmanaged code use:

Visual Studio 2010 Solution Find all References Not Working

半城伤御伤魂 提交于 2019-12-12 10:49:43
问题 I have a Visual Studio 2010 Solution that was imported from a Visual Studio 2008 solution that the Find all References does not work on. I've tried doing some searches on Google to try and figure this out but have come up empty handed. The find all references in VS2008 worked like a charm, we upgraded to 2010 and now no matter what file I'm in the Find All References doesn't return anything. Anyone have any idea how to possibly fix this or some good ways to "debug" the issue. 回答1: I figured

Place breakpoints at all referenced locations in VS 2008

回眸只為那壹抹淺笑 提交于 2019-12-12 03:38:12
问题 The "Find All References" option in the VS editor helps us in finding the locations where a specific object is used. But is there any way so that I can automatically place a break-point at all those locations? Placing break-points for an object referenced at say 100 locations sees impossible! Is there any tool/addin out there which does this job? 来源: https://stackoverflow.com/questions/13799309/place-breakpoints-at-all-referenced-locations-in-vs-2008

Finding all references to an Object in Idea

我的梦境 提交于 2019-12-05 18:15:01
Is there a shortcut key or an option for Intellij-IDEA IDE to find all references to a Class in a particular project? For example, I have created my own Class to hold a String and an int and I have made references through the project. The project is quite large and I don't want to have to search through each file manually. Thanks in advance. Looks like all you need to do is Right-click on the Class and select Find usages , or Alt+F7. Here is a more detailed description http://www.jetbrains.com/idea/webhelp/finding-usages-in-project.html . 来源: https://stackoverflow.com/questions/17622519