How Can I Override Visual Studio's Menu Accelerator Shortcuts?

前端 未结 3 668
说谎
说谎 2021-02-02 01:37

I\'m a Mac-based .Net developer so over the years I\'ve got into the habit of remapping certain common functions to a more \'Macish\' set of keyboard shortcuts:

         


        
3条回答
  •  故里飘歌
    2021-02-02 02:29

    Here's how to change the shortcut key for a Visual Studio menu, using the 'Test' menu as an example:

    1. Go to Tools, Customize.
    2. Click the Commands tab.
    3. Ensure the Menu bar option is selected, and that Menu Bar is chosen for editing from the drop-down (this is the primary application menu bar).
    4. In the Controls section, click on the Test menu.
    5. Click on the Modify Selection ▼ button.
    6. Change the text for the Name property:
      • Any letter prefixed with an '&' ampersand will act as the shortcut key.
      • The ampersand is not required if you don't need to reach this menu with the keyboard.
    7. Press Enter to keep the setting.

    Editing the Test menu

    'Modify Selection' for the Test menu

提交回复
热议问题