CodeRush adds Code Cleanup support

Version 2011 also adds cascading refactorings, Razor support and Unit Test Runner improvements.
6月 14, 2011
功能发布

CodeRush helps developers meet the demands and pressures to deliver more features with higher quality in less time, by boosting productivity while eliminating the repetition that erodes creativity. CodeRush will help you create sophisticated code blocks in seconds and extend code templates instantly. CodeRush will complete identifiers as you type and expand or contract selections logically. With CodeRush you will be able to instantly place selected code inside Try/Catch blocks, Regions and your own custom wrappers with ease. You can even reverse the logic of selected code and revisit important points within your code instantly (and effortlessly swap between locations).

Updates in v2011 vol 1

  • Code Formatting - With this release, CodeRush allows you to fine-tune formatting rules for your code. You can set options for spaces, blank lines, alignment, line breaks, and indentation in variety of code constructs.  
  • Code Cleanup - CodeRush can now automatically apply certain refactorings to a current file, project or solution. Use the Editor|Code Cleanup|Code Cleanup option page to specify changes you want to apply.
  • Deep Declare - DevExpress have extended CodeRush’s Declaration from Usage functionality to deeply scan surrounding source code for hints about the type you want to declare. CodeRush now intelligently declares members for all found references.
  • Cascading Refactorings - CodeRush now includes several cascading refactorings. Cascading refactorings apply member signature changes across a class hierarchy with virtual/overridden members, or among interface implementers.
  • Razor Support – DevExpress have implemented MVC 3 Razor support. You can now navigate through code elements, and apply local-level refactorings within Razor code blocks.
  • Unit Test Runner Improvements - DevExpress have extended CodeRush Unit Test Runner functionality. Unit Test Runner now supports the MSpec testing framework.
  • New Code Provider - The Declare Event code provider is now available. It declares an event for a reference to an undeclared event.
  • New Text Command - Implemented the GoTo text command for use in CodeRush templates. GoTo places the text following it right before the first field, method, property, or constructor found in the current class. Valid arguments to the GoTo text command are: Fields, Methods, Properties, or Constructors.

About DevExpress (Developer Express)

Developer Express is a software development company based in the United States. It produces coding assistance tools and components for Delphi, C++ Builder and Microsoft Visual Studio developers. The major part of its product line is VCL, .NET WinForms and ASP.NET components that replicate the UI of Microsoft Windows and Microsoft Office applications. Developer Express has won many industry awards for its products.

Extracting a method in CodeRush with Refactor! Pro.

CodeRush Ultimate

更快地创建更好的代码。

有任何疑问吗?

透过Live Chat与我们的DevExpress 专家联络!