How do I view the Call Hierarchy window?
According to this, I should be able to highlight a procedure name, right m开发者_运维百科use click and select "Call Hierarchy" menu to open the Call Hierarchy window.
Yet, there is no context sensitive menu available when I highlight a routine.
What gives?
If you have Resharper installed, it could be hiding it as well.
Untick the checkbox in ReSharper | Options | Environment | Keyboard & Menus | Hide overridden Visual Studio menu items.
Two things: 1. Call Hierarchy is only available in Pro and above 2. Call Hierarchy is only currently available in C#
Assuming those two things are true for you it sounds like you may have a binding problem or something else going on. Go to Tools -> Options -> Keyboard and type in "View.CallHierarchy" in the "Show commands containing" textbox. See what is listed in the "Shortcuts for selected command" drop down list.
I have VS 2010 Prof and see the menu option. Make sure your cursor is on a method. Also Shortcut key is: Ctrl K, Ctrl T
精彩评论