CodeRush Xpress includes five intelligent features for selecting code more efficiently.
Camel Case Select
If you need to select one or more words from inside a camel-case identifier, just use the Shift key along with the Camel Case Nav keys.
For example, to select from the caret to the start of the camel case part to the left, use Alt+Shift+Left.
First, there is a command to increase the selection by logical blocks. For example, if the caret is inside an expression, you can quickly expand the selection so it entirely holds the expression. Being able to quickly define a selection around a logical block is useful for refactoring. You can also use it to quickly select code you want to move to another location. This command is bound to a shortcut: Ctrl+Alt+=.
If you accidentally overshoot the block you want to select, you can reduce the selection by logical blocks using Ctrl+Alt+-.
Intelligent Cut, Intelligent Copy, and Paste Replace
If you need to cut or copy an identifier to the clipboard, there's no need to select it with CodeRush Xpress. Just place the caret on the identifier and press the cut or copy key (e.g., Ctrl+X, Shift+Delete, Ctrl+C, or Ctrl+Insert). CodeRush Xpress will select the identifier before the cut or copy operation.
Once you have an identifier on the clipboard, you can move the caret to a different identifier and replace it with the one on the clipboard using Ctrl+B. This Paste Replace command will select the identifier at the caret before pasting in the contents of the clipboard.
If you need to cut or copy a larger structure, such as a for loop, a try/finally block, a member or a class, just place the caret at the start of the block you want to copy and press the cut or copy key. CodeRush Xpress will select the entire block before cutting or copying the block to the clipboard.