如何在Visual Studio 2008中找到调用特定函数的所有行/位置/点? [英] How do i find all the lines/places/points where a particular function is being called in Visual Studio 2008?
本文介绍了如何在Visual Studio 2008中找到调用特定函数的所有行/位置/点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我有一个名为SampleMethod的函数。我在程序中多次调用此方法。有什么方法可以导航到程序中的每个呼叫点吗?坦白说,有没有办法扭转去定义的用法。我正在使用Visual Studio 2008.
Say I have a function named "SampleMethod". I have called this method multiple times in my program. Is there any way i can navigate to each of the calling points in the program ? Quite frankly, is there way to reverse the usage of "Go to definiton". I am using Visual Studio 2008.
推荐答案
选择该方法名称并按ctrl + k然后按r。我想这就是你想要的。
Select that method name & press ctrl + k then r. I guess this is what you want.
是的,查找所有参考
菜单项,就在转到定义
一。
Yes, there isFind All References
menu item, just below theGo To Definition
one.
右键单击功能名称SampleMethod并选择查找全部参考(F12)。
或
使用Cntrl + F键进行搜索。
Right click on Function Name "SampleMethod" And Select Find All Reference (F12).
OR
Use Cntrl+F keys, to search it.
这篇关于如何在Visual Studio 2008中找到调用特定函数的所有行/位置/点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文