YouTrack InCloud 2017.1 Help

Customize Keyboard Shortcuts

You can customize the keyboard shortcuts for your YouTrack server. All of the keyboard commands, tips, and shortcut help pages are updated for all users. You can select a pre-configured keyboard shortcut scheme or install your own. The following pre-configured shortcut schemes are available:

Shortcut SchemeDescription
DefaultThis is the default shortcut scheme for YouTrack. For a list of keyboard shortcuts, see Customize Keyboard Shortcuts.
Scheme for Slavic LayoutsThis scheme differs from the default in the following ways:
Repeat Last CommandAlt + Shift + JSimilar to the shortcut that opens the Apply Command dialog - Ctrl + Alt + J
Add CommentAlt + Shift + WWrite
Add FileAlt + Shift + OOpen
Take ScreenshotAlt + Shift + RRun a screenshot tool
Paste From ClipboardAlt + Shift +IAttach image
Paste From Clipboard Without PreviewCtrl + Alt + Shift + ISimilar to the paste from clipboard command

Enable a Shortcut Scheme

You can select a default default set of keyboard shortcuts to use in YouTrack.

To select one of the default shortcut schemes:

  1. Open the Administration > Global Settings page.
  2. In the Keyboard Shortcuts section, select the desired scheme from the drop-down list.
  3. Click the Save button at the bottom of the page.
  4. Press F5 to refresh the page and apply the new shortcut scheme.

Create Your Own Shortcut Scheme

If you prefer to use your own set of keyboard shortcuts, you can edit a default shortcut scheme and upload it to YouTrack.

To create and apply your own shortcut scheme:

  1. Open the Administration > Global Settings page.
  2. In the Keyboard Shortcuts section, click the Export Selected Shortcuts link. The definitions for the selected scheme are exported as a JSON file.
  3. Modify the JSON file.
  4. When done, upload the file to your YouTrack server: Click the Import Shortcuts button and select the updated file.
  5. Verify that the updated scheme is set as the current scheme.
  6. Click the Save button at the bottom of the page.

Shortcut Scheme Syntax

When you download the JSON file for the current shortcuts scheme, you only need to change a few values to modify the keys used for each coommand. The syntax of the file is pretty straight-forward, however there are some points to consider. Here is an example of a shortcut definition:

{ "name" : "IncreaseIssueVisibility", "variants" : [ { "keyStroke" : { "alt" : true, "ctrl" : true, "meta" : false, "shift" : false, "keyCode" : 61, "name" : "=", "macName" : "=" }, "browser" : [ "firefox" ] }, { "keyStroke" : { "alt" : true, "ctrl" : true, "meta" : false, "shift" : false, "keyCode" : 187, "name" : "»", "macName" : "»" }, "os" : [ "windows" ], "browser" : [ "opera" ] }, { "keyStroke" : { "alt" : true, "ctrl" : true, "meta" : false, "shift" : false, "keyCode" : 107, "name" : "k", "macName" : "k" }, "os" : [ "linux" ], "browser" : [ "opera" ] }, { "keyStroke" : { "alt" : false, "ctrl" : true, "meta" : true, "shift" : false, "keyCode" : 61, "name" : "=", "macName" : "=" }, "os" : [ "macintosh" ], "browser" : [ "opera" ] }, { "keyStroke" : { "alt" : true, "ctrl" : true, "meta" : false, "shift" : false, "keyCode" : 187, "name" : "=", "macName" : "=" } } ] }
  1. Every shortcut is represented by its name, which should not be changed, and an array of keystrokes.
  2. In most situations, there is just one keystroke is the array, which represents the shortcut for all browsers and operating systems (like the last one in this example).
  3. Sometimes you need to make special shortcuts for specific browsers and/or operating systems. In this case, list browser- and OS-specific shortcuts before the generic shortcuts. The more specific the shortcut, the higher it is listed in keyStrokes array.
  4. The os and browser attributes contain the arrays of strings, representing the appropriate operating systems and browses. All possible variations are presented in the example.
  5. The keyCode attribute is required, and is equal to the ASCII code of the character.
  6. The name and macName attributes are optional. These values are used in help and tooltips. If absent, their value is derived from the keyCode.
Last modified: 18 April 2017