This documentation is archived and is not being maintained.

Customizing Shortcut Keys

Visual Studio .NET 2003

Shortcut key combinations make it easier to complete common tasks. For example, Ctrl+C allows you to quickly copy a selected item to the clipboard. You can select from a predefined list of mappings, such as Visual Studio 6.0, or you can create own unique mapping.

To select a predefined mapping

  1. On the Tools menu, select Options.
  2. In the Options dialog box, open the Environment folder, and choose Keyboard.
  3. In Keyboard mapping scheme drop-down list, select the scheme you want to use.

If you want to create custom mapping scheme, you will get the best results, by basing the new scheme on an existing scheme. Whereas system shortcuts in default keyboard mapping schemes cannot be modified, custom mapping schemes can.

To create a custom mapping scheme

  1. On the Tools menu, select Options, open the Environment folder, and choose Keyboard.
  2. On the Keyboard page select a Keyboard mapping scheme and then choose Save As to create a mapping scheme that you can customize.
  3. In the Save Scheme dialog box, type a name for your new scheme.
    Note   Until modified, custom keyboard mapping schemes retain the shortcut assignments of the scheme on which they were based.

To add custom shortcut keys

  1. On the Tools menu, select Options, open the Environment folder, and choose Keyboard.
  2. On the Keyboard page select a Keyboard mapping scheme.
  3. In the Show commands containing text box, type a command-related keyword to locate the command you want in the list box.

    For example, if you want to create a shortcut that opens a new solution, you might type "solution" in this text box.

  4. In the scrolling list box, select the command you want the shortcut to execute.
  5. On the Use new shortcut in drop-down list, select the environment in which you want to use the shortcut. Choose Global if you want the shortcut to work in all contexts.
  6. Place your cursor in the Press shortcut key(s) text box and then press and hold a non-text key or combination of non-text keys (Alt, Ctrl, or Shift, for example) and type the text key of your choice.
  7. Choose Assign.
    Note   You can overwrite the current shortcut assignment when a custom scheme is selected.

See Also

Customizing the Development Environment | Shortcut Keys

Show: