简体   繁体   中英

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:

在此输入图像描述

How do I make it available in C#?

  1. Open Tools -> Customize -> Commands tab
  2. Select Context menu radio button
  3. Select Editor Context Menu | Code Window Editor Context Menu | Code Window
  4. Click Add Command... button
  5. Select Edit in Categories list
  6. Select Go To Type... in Commands list
  7. Click OK for Add Command window
  8. Click Close for Customize window
  9. Enjoy!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM