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 advice 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
Unit Test Builder
This release gets a port of the Unit Test Builder from CodeRush Classic, which helps you generate test cases for members of interest as you step through code.
The Unit Test Builder supports NUnit, XUnit and VSTest frameworks.
To generate a new test case as you are stepping through a debug session, place the caret on the method you want to test, invoke the Code Actions menu (with Ctrl+. or Ctrl+~), select the "Generate Test In" menu item and select the target location for the new test. Tests can be added to existing test classes or to a new test fixture.
After your debug session ends, CodeRush will generate unit test stubs for all the tests created, complete with calls to the methods the feature was invoked from. You can add assertions and/or modify the initialization as needed.
New Refactorings and Code Providers
We have added the Initialize code provider. This provider initializes the variable or the field under the caret with the default type value.
Just place the caret on a variable or the field, press Ctrl+. or Ctrl+~ to invoke the Code Actions Menu, select Initialize from the menu and press Enter.
This code provider is available in C# and Visual Basic.
TypeScript Support - Navigation Providers
The following navigation providers are now available in TypeScript code:
LaTeX Formulas Support (Beta)
This release introduces beta support for LaTeX formulas in comments.
You can also change a formula's foreground color, background color and size.
We have also added templates to make LaTeX formula creation easier.
The LaTeX Formulas Support feature ships disabled by default. You can enable LaTeX formula support on the Rich Comments options page.
Code Places Enhancements
We have added the Dock Options to the Navigation | Code Places options page. You can now dock the Code Places panel to the right/left margin.
You can now jump to the desired type member in the code places list with a single click. Just set the Navigate to the member option to Single click on the Navigation | Code Places options page.