Smart Cut & Copy places logical code blocks on the clipboard with a single keystroke.
Position the caret at the start or end of the code block and hit the cut shortcut (for example, CTRL+ X, Shift + Delete) or copy shortcut (CTRL + C, Ctrl + Insert).
The following screencast demonstrates Smart Cut:
You do not need to select the code block if you want to copy it to the clipboard. After you press the copy shortcut, CodeRush pre-selects the code block based on the caret position and places it on the clipboard.
CodeRush allows you to cut or copy an identifier name. To do this, place the caret on the identifier name and press the copy or cut shortcut.
If the caret is inside white space, the default Visual Studio cut or copy operation is applied (for example, cut/copy a code line).
The Smart Cut & Copy feature is disabled initially. To enable it, use one of the following ways: