Wednesday, October 29, 2008

Free Visual Studio Add-In for Code Navigation and Refactoring

If you are a fan of CodeRush and Refactor! Pro from DevExpress, you can get CodeRush Xpress for C#, which is a free Visual Studio 2008 Add-In with a sprinkling of offerings from both CodeRush and Refactor! Pro.

You can expect a few features from CodeRush that help you navigate through your code in Visual Studio 2008:

  • Find any File or Symbol
  • Tab to Next Reference
  • Expand/Shrink Selection
  • TDD-Style Intelligent Declaration Based on Usage
You can also find various refactorings for Visual Studio 2008 from Refactor! Pro:

Inline Delegate - Convert method to Inline Delegate ( Anonymous Delegate )
Compress to Lambda Expression - Converts an anonymous method into a lambda expression
Extract Method to Type - Allows you to extract a method from one type into another
Here are the complete set of features for CodeRush Xpress for C#:

Editor Features

  • Duplicate Line
  • Highlight Usages
  • Clipboard Features
  • Smart Cut/Copy
  • Paste Replace
  • Enhanced Selection Abilities
  • Extend/reduce selection
  • Camel-case selection
Navigation Features

  • Camel-case Navigation
  • Tab to Next Reference
  • Go to File
  • Go to Symbol (QuickNav)
TDD - Declaration from Usage

  • Types
  • Declare Class
  • Declare Delegate
  • Declare Enum
  • Declare Enum Element
  • Declare Interface
  • Declare Struct
  • Members
  • Declare Constructor
  • Declare Event Handler
  • Declare Getter
  • Declare Method
  • Declare Property
  • Declare Property (auto-implemented)
  • Declare Property (with backing field)
  • Declare Setter
  • Variables
  • Declare Field
  • Declare Local
  • Declare Local (implicit)
Refactorings

  • Add/Remove Block Delimiters
  • Combine Conditionals (merge nested "If" statements)
  • Compress to Lambda Expression
  • Compress to Ternary Expression
  • Convert to Auto-implemented Property
  • Convert to Initializer (use object/collection initialize when possible)
  • Create Backing Store (converts Auto-implemented Property to standard Property with get and set)
  • Decompose Initializer
  • Decompose Parameter
  • Expand Lambda Expression
  • Expand Ternary Expression
  • Extract Method to Type
  • Flatten Conditional
  • Introduce Local (introduce variable)
  • Inline Delegate
  • Inline Temp (inline variable)
  • Make Explicit
  • Make Implicit
  • Move Type to File
  • Name Anonymous Method
  • Name Anonymous Type
  • Reverse Conditional (invert "if")
  • Split Conditional (split complex "If" statements)
  • Use StringBuilder
  • Use String.Format
Seriously, those are a fantastic set of features from CodeRush and Refactor! Pro for FREE!!!!!!

Download the free Visual Studio Add-in, CodeRush Xpress for C#, here.

0 comments: