CodeRush Feature Overview
Create new code more efficiently with intelligent code generation. Hundreds of smart template shortcuts (like VS code snippets on steroids) provide easy access into quickly creating just the code you need, intelligently adapting to surrounding code and/or exploiting code on the clipboard. CodeRush's Deep Declare intelligently declares missing types and members automatically. And Selection Embedding instantly places selected code inside try/finally, try/catch, using statements, braces, and more.
The Static Code Analysis engine detects common errors in your code and advises how to fix them.
Quickly find symbols and files in your solution and easily navigate to code related to the current context. CodeRush includes various navigation features to help find what you need fast and easy.
CodeRush makes it easier to see what's going on with complex code, so you can move forward and spend less time wandering and wondering. How did that expression get its value? When did that local value change? What arguments are we passing into this method? How many times have we been through this loop? CodeRush's compelling new debug visualizer effortlessly and instantly answers these questions, and more.
Quickly make your code more readable and maintainable. CodeRush provides over 100 refactorings and code providers, including Move Type to File, Optimize Namespace References, Add Missing Constructors and more, designed to simplify code, improve readability, and increase flexibility. And CodeRush Refactorings come with a streamlined user interface built directly into the Visual Studio editor - no modal dialogs to block your code or slow you down.
The blazingly fast Test Runner automatically detects unit tests for NUnit, xUnit, MSpec and MSTest frameworks, and can optionally run tests located across multiple assemblies concurrently. The CodeRush Test Runner also runs .NET Core test cases.
Using CodeRush's Analyze Code Coverage feature, you can discover what parts of your solution are covered by unit tests, and quickly find the at-risk parts of your architecture.
You can experience CodeRush free, for 30 days. Full licenses start at $49 for a one-year subscription. All subscription plans include a lifetime license to the product and a year of free updates (updates ship about every 45 days).
What's New in the latest version
You can now configure naming conventions in CodeRush using the Visual Studio's naming styles options and corresponding settings in the EditorConfig file.
For example, the following EditorConfig defines a naming convention for classes and structures. This convention specifies all public classes and structs be capitalized and include a required "Name" suffix.
After making this example change, CodeRush features such as Name Anonymous Type will use the specified naming conventions:
CodeRush declaration providers are now available from @code sections in .razor files. You can use them to declare local variables, methods, parameters, fields, properties, and constants. Type is intelligently inferred from the surrounding code.
For example, you can run Declare Constant to create a constant of the corresponding type:
The red target picker marker allows you to choose the place where the created constant can be inserted.
You can configure which code providers use the target picker on the Editor | All Languages | Code Actions | Target Picker options page.