[英]Where is the “Go To Type Definition” context menu item?
There used to be a handy little context menu item "Go To Type Definition". 曾经有一个方便的小上下文菜单项“转到类型定义”。 When I would right-click on a variable, for instance, I could use this to go to its type definition instead of the variable definition itself. 例如,当我右键单击一个变量时,我可以使用它来转到它的类型定义而不是变量定义本身。 However, this is no longer available: 但是,这已不再可用:
If I go to "Tools > Customize > Commands", it shows that the tool should be in the list: 如果我转到“工具>自定义>命令”,则表明该工具应该在列表中:
What am I missing? 我错过了什么? That was a very convenient feature. 这是一个非常方便的功能。
UPDATE: I realized where I used to use it. 更新:我意识到我曾经使用过它。 It's available in VB: 它在VB中可用:
How do I make it available in C#? 如何在C#中使用它?
Tools
-> Customize
-> Commands
tab 打开Tools
- > Customize
- > Commands
选项卡 Context menu
radio button 选择Context menu
单选按钮 Editor Context Menu | Code Window
选择Editor Context Menu | Code Window
Editor Context Menu | Code Window
Add Command...
button 单击Add Command...
按钮 Edit
in Categories
list 选择Edit
Categories
列表 Go To Type...
in Commands
list 在“ Commands
列表中选择“ Go To Type...
OK
for Add Command
window 单击OK
以Add Command
窗口 Close
for Customize
window 单击“ Close
Customize
窗口
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.