Home > Overview > Refactor! Pro refactorings list

Refactor! Pro refactorings list

July 12th, 2010

With the latest release of Refactor! Pro, DevExpress increased the count of refactorings. For greater clarity, refactorings are divided into the following categories:

  1. ASP.NET
  2. Changing Signatures
  3. Conditionals
  4. Contracts
  5. Dead Code
  6. Declaration and Initialization
  7. Expressions
  8. Formatting and Structure
  9. Interfaces
  10. Lambda Expressions & Anonymous Methods
  11. Loops and Blocks
  12. Macros
  13. Moving/Extracting Methods
  14. Parallel Computing
  15. Properties and Fields
  16. Renaming
  17. Resource Files
  18. Strings
  19. Types, Typecasting & Namespace References
  20. Visibility
  21. XML, HTML, and XAML

Refactorings, by category are below:

ASP.NET

  • Add AssociatedControlID Attribute*
  • Add RunAt Attribute*
  • Add Validator*
  • Convert Color to HEX
  • Convert Color to Named Color
  • Convert Color to RGB
  • Convert to Pixels
  • Convert to Points
  • Convert to Skin
  • Extract ContentPlaceHolder (and create master page)
  • Extract ContentPlaceHolder
  • Extract Script
  • Extract Style (Class)
  • Extract Style (id)
  • Extract UserControl
  • Make ID Unique
  • Merge Styles
  • Move Style Attributes to CSS
  • Move Style Attributes to External CSS
  • Move Style Attributes to Theme (use SkinID)
  • Move Style Attributes to Theme
  • Move to Code-behind
  • Set CssClass*
  • Split Style
  • Surround with Update Panel*
  • Toggle ViewState*

Changing Signatures

Conditionals

Contracts

Dead Code

  • Remove Empty Handler
  • Remove Parameter
  • Remove Private Setter
  • Remove Redundant Call
  • Remove Redundant Constructor
  • Remove Redundant Delegate Creation
  • Remove Redundant Qualifier
  • Remove Redundant Type Specification

Declaration and Initialization

Expressions

  • Convert to Is Nothing
  • Create Case Blocks from Enum*
  • Inline Constant
  • Inline Recent Assignment
  • Inline Result
  • Inline Temp
  • Introduce Constant
  • Introduce Constant (local)
  • Introduce Local
  • Introduce Local (replace all)
  • Introduce Result Variable
  • Replace with Constant
  • Replace with Local
  • Simplify Expression
  • Use Equality Operator

Formatting and Structure

  • Break Apart Arguments
  • Break Apart Parameters
  • Compress Assignment
  • Create Multi-variable Declaration
  • Expand Conditional
  • Line-up Arguments
  • Line-up Parameters
  • Split Multi-variable Declaration
  • Use Implicit Line Continuation

Interfaces

Lambda Expressions and Anonymous Methods

Loops and Blocks

Macros

Moving/Extracting Methods

Parallel Computing

Properties and Fields

Renaming

Resource Files

  • Extract String to Resource
  • Extract String to Resource (replace all)
  • Extract to XAML Resource (replace all)
  • Extract to XAML Resource
  • Extract XML Literal to Resource
  • Replace with XAML Resource

Strings

Types, Typecasting and Namespace References

Visibility

XML, HTML, and XAML

  • Add End Tag
  • Break Apart Attributes
  • Change Tag*
  • Extract to XAML Template
  • Line-up Attributes
  • Remove Attribute*
  • Remove End Tag
  • Remove Tag*
  • Reorder Attributes
  • Surround with Tag*

*NOTE: feature may change program behavior.

—–
Products: CodeRush Pro with Refactor!
Versions: 12.1 and up
VS IDEs: 2008 and up
Updated: Sep/21/2012
ID: R008

Similar Posts: