Shortcuts
- 4 minutes to read
The Shortcuts options page contains CodeRush Classic shortcut options.
Shortcuts are listed in tabular fashion. This table details the main information on each shortcut: shortcut (keys combination), action, and context. The table items are grouped into the tree to simplify a search for a shortcut.
The buttons over the table manage the table items:
Button | Description |
---|---|
![]() |
Creates a new shortcut. |
![]() |
Creates a new mouse shortcut. |
![]() |
Duplicates the selected shortcut. The button is available if a shortcut is selected. |
![]() |
Creates a new folder. |
![]() |
Renames the selected folder. The button is available if a folder is selected. |
![]() |
Deletes the selected folder or shortcut. If you delete a folder, all shortcuts contained in the folder are also deleted. |
![]() |
If the button is pressed, the shortcuts are shown without folders. Otherwise, folders are shown. |
![]() |
Opens the Find window used to find the desired shortcut. |
![]() |
Press the button to distinguish left and right ALT keys (does not affect mouse shortcuts). |
#Keyboard shortcut options
Key 1
The shortcut keys combination.
Key 2
The additional keys combination. If the Key 2 value is not empty, the specified command is executed, if Key 2 is pressed immediately after Key 1.
Enabled
Specifies the shortcut availability.
Command
Specifies the command that should be executed if the specified keys combination is pressed.
Parameters
The parameters of the specified command. If a command has parameters, you can create a shortcut that executes the command with the desired parameter.
For example, if you want to create a shortcut that calls the Add Parameter refactoring, you should assign “Refactor” to the Command option and “Add Parameter” to the Parameter option.
After executing this command, pass the shortcut on to the IDE for default handling
Check the option to pass the shortcut to the IDE after the specified command is executed.
Note
If the current shortcut is a two key shortcut, Code
The contexts tree
Specifies the shortcut contexts.
#Mouse shortcut options
Mouse shortcuts have the following options:
CTRL, ALT, and SHIFT buttons.
The shortcut modifier keys.
Mouse
Specifies the mouse event that activates the shortcut.
Enabled
Specifies the shortcut availability.
Command
Specifies the command that should be executed, if the specified keys combination is pressed.
Parameters
The parameters of the specified command. If a command has parameters, you can create a shortcut that executes the command with the desired parameter.
For example, if you want to create a shortcut that calls the Add Parameter refactoring, you should assign “Refactor” to the Command option and “Add Parameter” to the Parameter option.
After executing this command, pass the shortcut on to the IDE for default handling
Check the option to pass the shortcut to the IDE after the specified command is executed.
The contexts tree
Specifies the shortcut contexts.
#Folder options
If a folder is selected in the shortcut tree, you can uncheck the Enabled option to disable all shortcuts contained in the folder. The Comment option is intended to provide a brief description of the folder.
#Shortcuts Search
The button, situated over the shortcuts table, opens the Find window. This window enables you to search for a folder or a shortcut.
The window has 4 tabs:
- Folder - searches for a folder by its name.
- Key Shortcut - searches for a keyboard shortcut by key combination.
- Mouse Shortcut - searches for a mouse shortcut by mouse event and key combination.
- Command - Searches for a shortcut by command.
Click Find to view the first item fulfilling the search condition. The Find Next button shows the next search result.
Note
This product is designed for outdated versions of Visual Studio. Although Visual Studio 2015 is supported, consider using the Code