Archive

Archive for 2012

Advanced CodeRush Quick Navigation customization

September 27th, 2012 Comments off

The Quick Navigation window is customizable on the Editor | Navigation | Quick Nav option page in the CodeRush Options Dialog accessible via the DevExpress menu:

CodeRush Quick Navigation Option Page

Read more…

Quick Navigation inside Visual Studio using CodeRush

September 27th, 2012 1 comment

The Quick Navigation feature allows you to find any code members inside your solution, such as classes, interfaces, structures, enumerations, delegates, methods, properties, events, fields locals and parameters. Once you hit the Ctrl+Shift+Q shorcut, the simplified Quick Navigation window will appear by default:

CodeRush Quick Navigation Default Window

Read more…

MVC-specific CodeRush code declaration providers

September 21st, 2012 Comments off

There are three code generation providers specific to MVC. They allow you to declare MVC controllers, MVC actions and MVC views correspondingly:

  • Declare Controller
  • Declare Action
  • Declare View

Read more…

Declaring events and event handlers using CodeRush

September 21st, 2012 Comments off

With the help of CodeRush we can declare everything starting from undeclared local variables and members to undeclared objects like classes and structures. Here, we will take a look at the code declaration providers for declaring events and event handlers:

  • Declare Event
  • Declare Event Handler

Read more…

Declaring methods and constructors using CodeRush

September 21st, 2012 Comments off

When writing a new code, it usually implies writing a not-declared code like a method invocation, property calls, etc. To help you quickly create the required declarations, there are a lot of code generation providers for declaring methods, properties, fields, locals and everything else. Let’s review the method and constructor code declaration providers:

  • Declare Constructor
  • Declare Method
  • Declare Method (abstract)

Read more…

Refactorings to execute statements asynchronously

September 17th, 2012 2 comments

In continuing with the ‘Refactorings for simplifying of the .NET 4.0 parallel computing development‘ thread, let’s review the additional refactoring for executing statements asynchronously called in the same manner – Execute Statement Asynchronously. The refactoring is available in two versions:

  • Execute Statement Asynchronously (FromAsync)
  • Execute Statement Asynchronously (StartNew)

Read more…

Refactoring C++ macros using CodeRush

September 17th, 2012 Comments off

CodeRush Pro includes three refactorings that work with macros, aliases and typedef declarations in C++. Here they are:

Read more…

Code Issues of the dead code type for qualifiers

September 14th, 2012 Comments off

Here are some of the code issues of the dead code type that indicate redundant ‘this’ (‘Me’ in VB), ‘base’ (‘MyBase’ in VB) and type qualifiers.

Read more…