Archive

Author Archive

CodeRush code generation features for declaring types

June 1st, 2012 Comments off

The following code declaration features are available in CodeRush for generating new type declarations (in alphabetical order). Click on the name to learn more about a specific code provider.

Create Ancestor

Creates an ancestor class for an active type. Active type becomes a descendant of the created ancestor class.

Create Descendant

Creates a descendant class providing overrides for abstract members.

Read more…

Declare Attribute CodeRush code provider

June 1st, 2012 2 comments

Attributes provide a powerful method of associating declarative information by decorating elements of the code, such as types, methods, properties, parameters and assemblies. Once an attribute is associated with a program entity, it can be queried at run time and used in various cases, for example, associating a help document with program entities (via the Help attribute), or marking an item as out of date (via the Obsolete attribute).

Read more…

Specific CodeRush code providers for declaring new classes

June 1st, 2012 Comments off

CodeRush provides code providers for declaring classes, such as:

Read more…

Declare Delegate CodeRush code provider

June 1st, 2012 Comments off

A delegate is a special kind of object that holds a reference to a method. Once a delegate is assigned a method, it behaves exactly like that method. It can have parameters and a return value. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.

Read more…

Creating interface implementers with CodeRush

June 1st, 2012 2 comments

A class that implements an interface should implement all members of that interface. Members of implemented interfaces can be declared in two ways: implicit or explicit. That is why there are two versions of the Create Implementer code provider in CodeRush:

  • Create Implementer (implicit)
  • Create Implementer (explicit)

Read more…

Code Issues specific to C# and VB language keywords

May 30th, 2012 Comments off

We are going to review the CodeRush code issues dedicated to C# language limitations for the following keywords: ‘base’, ‘this’, ‘yield’, ‘params’ and ‘Me’, ‘ParamArray’ keywords in Visual Basic. Here’s a brief overview of keywords:

Read more…

CodeRush/IDE Tools system requirements

May 30th, 2012 Comments off

This is another frequent question from new CodeRush users, which is not exactly specified anywhere yet because CodeRush does not really rely on hardware or software requirements – it should run OK everywhere your Visual Studio is installed.

Read more…

How to adjust the font size in the CodeRush window

May 30th, 2012 Comments off

One of the common CodeRush questions coming from new users is how to adjust the font size in the CodeRush Training window.

The tool window uses the standard WebBrowser component to display its data, which applies the built-in Internet Explorer settings.

Read more…