Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Add command accelerators

  • Last UpdatedJul 23, 2024
  • 1 minute read

The following example adds “Control + I” keyboard accelerator to the “cmdTestCheckin” command.

<Resources>

<Accelerator Id = "accelTestCI">

<CommandId>cmdTestCheckin</CommandId>

<Shortcut>CtrlI</Shortcut>

</Accelerator>

</Resources>

  • Accelerator tag is where new keyboard accelerator definition should be provided. Id attribute is the unique identifier of the accelerator.

  • CommandId tag is the identifier of the command the keyboard accelerator is associated with.

  • Shortcut tag is the actual short cut key associated with the command. For combination with Control+Shift key use CtrlShift followed by the character as shown in the example.

  • For a detailed list of supported short cuts keys, refer to the IDE Extension schema: IDE Extensions Xml Schema.xsd. In the schema document, look for the node named: ShortcutType.

TitleResults for “How to create a CRG?”Also Available in