Share via


Adding Accelerator Keys and Key Bindings Anchor

To facilitate launching tools, you can program accelerator keys and key bindings for external tool commands on the Tools menu.

To include an accelerator key

  1. On the Tools menu, choose External Tools and then choose Customize.
  2. In the Menu Contents list, select the tool name.
  3. In the Title box, enter an ampersand (&) before the letter in the name of the tool that you wish to use as an accelerator key.

Key bindings can also be added.

To include a key binding

  1. On the Tools menu, choose Options.

  2. Choose Keyboard from the Environment page.

  3. In the Show commands containing list, type Tools.

  4. In the Command names list, scroll to the appropriate External Command n entry.

    Note   You can define key bindings for up to twenty external tools. External tools are listed as External Command 1-20 in the Command names list. The numbers correspond to the number to the left of the custom external command name on the Tools menu. If the menu command already has a key binding assigned to it, that information appears in the Shortcuts for selected command list.

  5. Place the cursor in the Press shortcut keys text box, and then press the key combination you intend to assign to the external tool.

    Note   If the key combination is already assigned to another command, the Shortcut currently assigned to list will display that information.

  6. Choose Add.

    Note   If you have not created a custom keyboard mapping scheme, you will be prompted to name and save a custom scheme. The keyboard mapping for the external tool will then be associated with the custom scheme rather than the default mapping scheme, which cannot be modified.

See Also

External Tools Dialog Box | Arguments Dialog Box | Arguments for External Tools