[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Collapse]CodeRush
  System Requirements
  Improve Performance
 [Expand]Features by Language
 [Expand]Getting Started
 [Expand]How To
 [Expand]Coding Assistance
 [Expand]Navigation and Search Tools
 [Expand]Static Code Analysis
 [Expand]Visualization Tools
 [Expand]Code Style Assistance
  Building Assistance
  Debugging Assistance
 [Expand]Refactoring Assistance
 [Expand]Unit Testing Assistance
 [Expand]Decompiling Tools
 [Collapse]Configuration Options
   Options Layers
   Auto Completion (IntelliRush)
   Break Apart Settings
   Code Places Settings
   Copyright Header
   Member Organization
   Member Sections
   Navigation Tools Options
   Scope
   Shortcuts
   Spell Checker Options
 [Expand]Extensibility
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Shortcuts

You can access the shortcuts configuration options page using the CodeRush | Shortcuts... menu item.

This page looks as follows. On the left part of the page, there is a hierarchical list of shortcuts, and on the right part — the configuration of the selected shortcut. Use the toolbar above the shortcuts list to manage shortcuts and folders. To find a shortcut, use the search bar.

The shortcut configuration consists of the following options.

  • The shortcut or two shortcuts that should be pressed sequentially to trigger the Command execution.
  • "Enabled" check box — the shortcut will work only when it is checked.
  • Command — the action to execute when the shortcut is pressed.
  • Parameters — if the command accepts parameters (e.g., "BookmarkGoto", "JumpTo", "SelectionEmbed", etc.), specify them in this field.
  • "After executing this command, pass shortcut on to IDE for default handling" check box — if it is checked, Visual Studio will be able to handle the shortcut after CodeRush handles it.
  • Context — the set of conditions, which should evaluate to true for the command to execute. You can find detailed information about contexts in the Context Providers section.
  • "Sync this shortcut with the command key binding registered in Visual Studio" check box — a number of shortcuts support integration into the Visual Studio context menu. Use this check box to enable integration.

Expanded Searching for a Shortcut

You can use the search field to find the required shortcut by its command or keys. The key names and shortcuts should be typed as text into the search box.

Expanded Adding a Shortcut

Follow the steps below to add a new shortcut.

  • Optionally, create a separate folder for your templates. Use the New Folder () toolbar button for that. To create a folder on a root hierarchy level, check the Make this a top level folder checkbox. Otherwise, the folder will be created within the currently selected folder.
  • Use the New Shortcut button to create a new shortcut within the currently selected folder.

  • Focus the First shortcut field and press the desired shortcut. To add special keys (Delete, Tab, etc.) or modifiers (Ctrl, Alt, etc.) to your shortcut, use the ellipsis button at the right part of the input field.
  • Optionally, set the Second shortcut. If it is set, the first and second shortcuts should be pressed sequentially to trigger the Command execution.
  • Choose the desired Command from the list.
  • Optionally, configure the remaining options.

Is this topic helpful?​​​​​​​