Display keyboard shortcuts in Visual Studio context menus

廉价感情. 提交于 2019-12-06 06:03:19

问题


Most of the time I use Visual Studio 2008. When right-clicking in this product, a context menu appears.

I'd like to see the keyboard shortcuts bound to each menu item in the context menu.

Does anyone know how to display these?


回答1:


I don't think you'll be able to get them in the context menus, but you can get them in the tooltips, as when you hover over an item in a toolbar.

Go to Tools>Customize and select the checkbox that says Show shortcut keys in ScreenTips.

If you go to Tools>Options>Keyboard there is a very handy search feature (Show commands containing:), so you can find a specific command (and then set or change the key binding, if desired).




回答2:


I use the context menu key on my windows keyboard (instead of pressing the right mouse button). This way the shortcut-underlines are displayed. Now I can even right-click with the mouse and I see the shortcut-underlines. This 'mode' remains until I change focus to another window and back.

Actually this behaviour is like that for all windows applications!

If you want to permanently display the shortcut-underlines for all applications: In Vista and 7 it's here: Control Panel > Ease of Access Center > Make the keyboard easier to use > Underline keyboard shortcuts and access keys



来源:https://stackoverflow.com/questions/2151899/display-keyboard-shortcuts-in-visual-studio-context-menus

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!