Archive

Archive for the ‘CodeRush’ Category

CodeRush Code Issues for interfaces

October 24th, 2011 Comments off

An interface is a code structure that has no concrete members and similar to an abstract class. An interface can contain public members such as methods, events, properties and indexers, but these members do not provide any functionality. Instead, they define items that must be made concrete within all classes that implement this interface. This means that an interface can be used to define what a class must do, but not how it will achieve it.

Read more…

DXCore Components – Selection Inversion Extension

October 24th, 2011 Comments off

The Selection Inversion Extension DXCore component adds a custom intelligent selection inversion provider used by the CodeRush Selection Inversion feature.

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

Read more…

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…

Customizing Selection Inversion and its predefined templates

October 24th, 2011 Comments off

The Inversion options page allows you to add, modify or remove inversion regular expressions that participate in the Selection Inversion feature of CodeRush. Here is what it looks like:

Read more…

Inverting a code block into its opposite using CodeRush Selection Inversion

October 24th, 2011 Comments off

The Selection Inversion feature of CodeRush Pro allows you to invert the selected code block to the essential opposite. For example, it can invert assignments so its expression assigns the left side; for loops, so they are iterated in a different order; type cast expression, so an ‘as’ operator expression is converted into an explicit typecast, etc.

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…

CodeRush code issues specific to constructors

September 29th, 2011 Comments off

A constructor is a special class member that is executed when a new object is created. There are two types of constructors: instance constructors and static constructors. Instance constructors are used to create and initialize instances of classes or structures. A static constructor is used to initialize a class itself. A static constructor is called automatically to initialize the class before the first instance is created or any static members are invoked.

Read more…