Archive

Archive for the ‘Selection’ Category

Wrapping code blocks with the CodeRush Code Embeddings feature

September 12th, 2011 Comments off

CodeRush Code Embeddings allow you to wrap the selected code block or any text into another predefined code block, such as: try/catch, try/finally, using and lock statements, while and other loops, region directives, etc. Code Embeddings are available via the predefined keyboard shortcuts, via the Embed Selection code editor context menu item, or using the Embed Selection code provider.

Read more…

Clipboard Tools – Smart Cut and Smart Copy

February 2nd, 2011 Comments off

These CodeRush clipboard features allow you to take an identifier or a block of code, and put it into clipboard without selecting it in advance. Just place the editor text caret at the identifier or at the start or end of a code block and press the copy key (Ctrl+C or Ctrl+Insert) or the cut key (Ctrl+X or Shift+Delete). This makes it easy to use cut and copy operations to move, duplicate or delete contiguous blocks of code, like methods, properties, conditional statements, loops, try/catch/finally blocks, comments, etc without selecting it first.

Read more…

Selection – Quick Comment/Uncomment

November 10th, 2010 3 comments

The Selection Comment feature adds the capability to quickly comment or uncomment a multi-line block of code (or any text in the code editor) via a single shortcut. Only one shortcut is used to comment and uncomment of the current selection. The shortcut is easy to remember. For example, in Visual Basic it is (‘)(Apostrophe) and in CSharp (or C++) it is (/) (Slash).

Read more…

Camel Case Navigation and Selection

November 10th, 2010 Comments off

Camel Case Navigation (also known as Camel Case Nav) moves the code editor text caret to the next or previous lower case to the upper case transition of the current word. Camel Case Nav is built using DXCore action components, so it is activated via shortcuts.

Read more…

CodeRush Selection Reduce

August 16th, 2010 Comments off

This command reduces the selection using the same logical blocks by which it was last increased via the Selection Increase feature. If you accidentally overshoot the block you want to select, you can reduce the selection using NUM- key or CTRL+Shift+W keys.

—–
Products: CodeRush Pro and CodeRush Xpress
Versions: all
VS IDEs: any
Updated: Aug/16/2010
ID: C015

CodeRush Selection Increase

August 16th, 2010 Comments off

Selection Increase is a command for a quick selection of continuous logical code blocks. For example, if the caret is inside an expression, you can quickly expand the selection so it entirely holds the expression. The ability to quickly define a selection around a logical block is useful for refactoring. For example, if you’d like to extract a piece of code into a method or property – the Selection Increase will help you define your code block for extraction very quickly. You can also use it to quickly select code you want to move to another location or select any member and/or type declarations. Just place the caret at the beginning of the declaration you want to select, and press the shortcut. This command is bound to NUM+ key or Ctrl+W key. After increasing a selection, you can reduce it using the Selection Reduce command by pressing the NUM- key.

Read more…

CodeRush Pro selection features

August 3rd, 2010 Comments off

CodeRush Pro includes several intelligent features for selecting and converting the selected 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 (Alt+Shift+Left/Right).

Quick Comment/Uncomment

The feature adds the capability to quickly comment or uncomment a multi-line block of code (or any text in the code editor) via a single shortcut. Only one shortcut is used to comment and uncomment of the current selection.

Read more…

CodeRush Xpress selection features

July 5th, 2010 Comments off

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 (Alt+Shift+Left/Right).

Read more…