Shortcut key for 'View in Object Browser'

2020-06-01 06:29发布

Does anyone know if there is a shortcut key for viewing the selected object (in the text editor) in the object browser?

I am sure there was one, but I cannot find it, or anything that seems to work in the key bindings dialog.

eg:

string test = string.empty;

if (string.isnullorempty(test))
{                          ^ caret here
    ...
}

pressing the key would open the object browser to System.String

7条回答
smile是对你的礼貌
2楼-- · 2020-06-01 07:14

The only way I found doing it with a single shortcut is through ReSharper and define.

Editor context menu. codewindow.navigate.resharper_navigatetoobjectbrowser as alt +shift + j (or what you want). Maybe there is a way to create a code, link it to the functions and add the shortcut in this window without installing ReSharper, or open a ticket to visual studio teem

the shortcut

查看更多
登录 后发表回答