How can I change a key binding?

To change a keyboard shortcut or a keyboard binding:

  1. From the IDE menu bar, select Window > Preferences .

    The Preferences dialog box appears.

  2. Type filter text as key to narrow down the list of the preferences.

    The modifications need to be done in the General > Editors > Keys preference page.

    Figure 1. Preferences Dialog Box

    Preferences Dialog Box

  3. Select General > Editors > Keys .

    The Keys preferences page appears in the right panel of the Preferences dialog box.

    Figure 2. Keys Preferences Page

    Keys Preferences Page

  4. From the Scheme drop-down list select the require scheme, such as Microsoft Visual Studio or Emacs .
  5. Type content assist as the filter text to filter the list of keys.
    Figure 3. Filtered List of Commands in Keys Preference Page

    Filtered List of Commands in Keys Preference Page

  6. Select the entry you want to modify and type the new key binding, such as Ctrl+Alt+C in the Binding text box. You can also assign multiple key bindings.
  7. From the When drop-down list, select the context in which the key binding apply.
  8. Click OK .

    The Preferences dialog box closes.

The keyboard shortcut or the keyboard binding are modified, as specified.