Product Reviews

Turbo Charge Visual Studio with DevExpress CodeRush

In the September issue of Visual Studio Magazine, we reviewed JetBrains ReSharper, a Visual Studio add-in that provides a full range of developer productivity tools. This month, we look at another productivity-boosting tool for .NET developers: DevExpress CodeRush 9.2, which includes the powerful Refactor! Pro tools from Developer Express Inc. (DevExpress).

CodeRush adds several new navigation features to Visual Studio, some of which you'll use once or twice a day, and others you'll use dozens of times in an hour. My favorite feature could be the "next issue" function, which lets you cycle through problem areas in your code with just two keystrokes. But the feature I might use most could be CodeRush's ability to complete If statements for me. I type in the If keyword, enter a test, and finish the statement by hitting the Enter key. CodeRush not only finishes the statement, but moves my mouse to the interior of the new If block.

CodeRush also shows you your code in new ways. Structure highlighting displays a set of brackets that shows where each code block begins and ends, as well as how the blocks are nested. CodeRush arrows appear beside any continue, break or Exit statement. Click one and it takes you to the code to which the statement transfers control.

Given a chance, CodeRush will even generate code for you. The template feature allows you to enter an abbreviation-"mb," for example-and have CodeRush write out the code you need for a message box. When you enter the name of a class, CodeRush will add the Using or Imports statement for the namespace that class belongs to, provided it isn't already present. And I haven't discussed the refactoring support included with Refactor! Pro.


[Click on image for larger view.]
Figure 1. Click the arrow after the "return" statement, and CodeRush shows where control is transferred to. The popup table at lower-right displays available keystroke commands.

CodeRush does require commitment. Many features are accessible through keystroke combinations or through abbreviations entered in your code. While the keystrokes and abbreviations are customizable, you'll have to remember-and remember to use-them. DevExpress does help you get up to speed with the tool, including a dockable training window, on-screen reminders of features you can use and mini-training movies (you can turn these aids off).

Installing CodeRush was a snap: I shut down Visual Studio, double-clicked the DxExperience executable that I downloaded from the DevExpress site, and picked CodeRush from the tools in the package. To stress-test CodeRush, I installed it on a slow machine that just barely supported standard Visual Studio functionality. I did have responsiveness issues. I'd occasionally find, for instance, that after entering a Namespace, I didn't get Visual Studio's IntelliSense list of classes. On a computer that went beyond the minimum requirements for Visual Studio, CodeRush worked fine for me.

Because of all the feedback CodeRush offers through icons embedded in your code, you may find your screen looks cluttered-and it is, compared to the basic Visual Studio display. I had one co-worker object to structural highlighting brackets because it made the screen too hard to read. Fortunately, if you don't find value in any CodeRush feature, you can turn it off or customize it.

CodeRush is more expensive than equivalent programmer-productivity tools, but it also provides more refactoring support than its competitors. It provides comparable support to both Visual Basic and C# programmers, a boon for developers using both languages. If you want to see if the tools fit your programming style and you're using

Visual Studio 2008, you can install CodeRush Xpress for free. There's also a 30-day free trial version of the complete package that works with any version of Visual Studio.

CodeRush

Developer Express Inc.
Web: www.devexpress.com
Phone: 818-844-3383
Price: $250; discounts available when purchasing multiple licenses
Quick Facts: Visual Studio add-in that provides code analysis, refactoring and other programmer-productivity tools
Pros: Wide range of tools for making developers more productive; includes Refactor! Pro; supports both Visual Basic and C#
Cons: May be too intrusive; requires a computer that supports Visual Studio comfortably

About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube