Keep track of all the latest news and events on developer tools and technologies you care about
Last month we talked about ReSharper so I thought it might be a good idea to take a look at another productivity tool CodeRush. We asked Rory Becker, DevExpress Evangelist for CodeRush if he wouldn’t mind giving us an introduction and this is what he had to say:
If CodeRush was one of your friends he’d be the one that is always at the station on time to collect you, is never out of milk, knows where you left your laptop power pack, carries a spare display port adapter for your Mac, has as much knowledge of short cuts and back streets as the best taxi driver in town, and most importantly always buys the first round of drinks after work.
In short, CodeRush is something you can rely on to take the hassles out of coding, letting you focus on the tasks that get your job done and get it done quickly … so that you can take advantage of that first round of drinks!
CodeRush refactorings give you 200 ways to restructure existing code, increasing flexibility and readability without changing external behavior, and the code generation templates are like snippets on steroids armed with jetpacks and elite ninja training.
CodeRush templates are easy to learn and cover a huge range of code constructs and disciplines, which follow a simple mnemonic naming style. This makes it easy for you to remember a template, and even figure out additional templates (from over 200,000 possible code-creating combinations) without even knowing if they exist!
The refactoring and templates are context sensitive and even Scott Hanselman is a fan of the visual hints. CodeRush gives you information you need to decide whether the change you’re making is the one you want, and a simple undo means if it’s not, you can take it out and try again. And with a rename function that (we’re told J) refactors faster that the VS dialog can pop up, you don’t have to waste all day going cross-eyed over code!
Navigating through a new code base can be tough, especially if your predecessor and you don’t share the same … let’s call it “style” of coding. With a few simple key combinations you get intelligent search functionality (Quick Navigation), you can locate all references to a given identifier or type (using the References ToolWindow), and tab among references to identifiers and types (Tab To Next Reference). Easy!
Code quality and testing go hand-in-hand, and with CodeRush they get along like a house on fire, improving quality by highlighting problems in your code as you work. Fixing issues is a cinch too, for example, CodeRush highlights local variables that are not disposed. Fixing this, perhaps by wrapping the impacted code inside a using block, is a single keystroke away.
Couple that with the fastest test runner available for .NET, with support for NUnit, MSTest, XUnit, MbUnit, and Silverlight, and you have everything you need to write clean, readable code, quickly and easily.
Of course everyone talks about the best case scenario with their product, but just like that friend I mentioned, when things get tough and you need some help, CodeRush has a crack team both behind it and in front of it! The support team and online community are amazing, and as a customer for *cough* years before I joined DevExpress, I have firsthand experience. You don’t often see passion like that, but CodeRush addicts wouldn’t have it any other way.
You can download a completely free, non-expiring version of the lite product, CodeRush Xpress, from the DevExpress website. Come and find out what all the fuss is about and while we’re at it, let me buy you that drink.
I am a huge fan of CodeRush and Refactor! For me the way CR works is far more intuitive and fits in with my workflow far better than ReSharper. If you aren't using either of the tools I'd recommend you give them both a try and see which works best for you