Archive

Posts Tagged ‘Coding Helpers’

CodeRush Invert Selection code provider

October 24th, 2011 Comments off

The Invert Selection code provider is used to apply the Selection Inversion feature of CodeRush. Once you select a block of text and there is a match with one of the predefined inversion items, the provider becomes available:

Read more…

DXCore Components – Intellassist Extension

October 18th, 2011 Comments off

The Intellassist Extension DXCore component participates in the CodeRush Intellassist feature and provides custom intelligent suggestions based on the current context.

You can drop the IntellassistExtension control onto your plug-in design surface from the “DXCore: Extensions & Providers” category of Visual Studio Toolbox:

Read more…

Coderush Intellassist configuration and options

October 18th, 2011 Comments off

Intellassist feature of CodeRush has two options pages in the Options Dialog. Both of them configure this auto-complete feature and its extensions.

Read more…

Coderush code editor auto-complete features – Intellassist

October 18th, 2011 Comments off

Overview

The Instellassist feature of DevExpress CodeRush Pro is similar to the built-in Intellisence feature of Visual Studio. It provides additional hints that pop up as you type the code and completes the edited code with an in-scope identifier or other suggestions. These hints help you select code elements or complete the text you need in the context of what you are working on without retyping the entire text.

Read more…

Creating custom CodeRush Code Embeddings

September 12th, 2011 Comments off

CodeRush Code Embeddings are completely customizable. They are modified on the Embeddings options page in the Options Dialog, where you can create your own. Let’s add a new code embedding to surround the selected code with the logging capabilities.

Read more…

CodeRush Code Embeddings Options

September 12th, 2011 Comments off

The Embeddings options page allows you to customize or remove the predefined CodeRush Code Embeddings and create your own for any registered language. The options page is located at the Editor | Selections | Embeddings path inside the CodeRush Options Dialog. Here is what is looks like:

Read more…

Code Providers – Embed Selection

September 12th, 2011 2 comments

The Embed Selection code provider allows you to wrap the selection into the predefined code blocks from the Code Embedding feature of CodeRush. The code provider is available when a whole line or multiple lines are selected and at least one embedding is predefined for the current language.

Read more…

Organizing source code and sorting class members using CodeRush

April 14th, 2011 2 comments

Reorganization of the code is a great practice to improve code readability. If you prefer to sort your type members like this:

class {
private fields
constructors
public properties
public methods
private methods
}

or any other order, you can use the Member Organizer CodeRush plug-in for this purpose.

Read more…