Archive

Archive for the ‘Upcoming’ Category

Three CodeRush Unit Test Runner improvements

April 23rd, 2012 Comments off

The CodeRush Unit Test Runner has several improvements in the upcoming major update.

Read more…

Code fixes for code issues for switch (select) statements

April 23rd, 2012 Comments off

You might have already learned that CodeRush suggests several code issues that highlight the switch (Select in VB) statement with hints and warnings when it has suspicious code. For example, when the switch statement handles only a subset of the possible enumeration values it is checking for, this may be a sign of incomplete code.

Until recently, there were no code fixes of those code issues. Now, they appear:

Read more…

Added two actions to repeat the last operations (refactoring or navigation)

April 19th, 2012 Comments off

There are two actions added to repeat the last operations:

  1. SmartTagExecuteLast – executes the last code or refactoring provider performed. This one is useful is you’d like to apply a specific refactoring several times in a row. The default shortcut for this action is Ctrl+Alt+Y (inspired by the Redo operation shortcut – Ctrl+Y).
  2. NavigateLast – executes the last navigation provider. Useful for navigating forward and backward using the specific navigation provider. For this action, there’s no default shortcut yet – if you have any ideas, please share them in the Comments section to this post.
—–
Products: DXCore, CodeRush Pro
Versions: 12.1 and up
VS IDEs: 2008 and up
Updated: Apr/19/2012
ID: U012

Spell checking the entire solution

April 9th, 2012 2 comments
NOTE: please take into account the “Versions” field at the bottom of the post, to determine the build number for which the content is applied. Click here to see the latest officially released version.

In addition to the usual Spell Checker CodeRush feature, you can find and review spelling errors from the entire solution in the dedicated Spell Checker tool window:

CodeRush Spell Checker tool window in the DevExpress Menu

Read more…

New Unit Test Runner actions to run tests for the specific categories

April 9th, 2012 Comments off
NOTE: please take into account the “Versions” field at the bottom of the post, to determine the build number for which the content is applied. Click here to see the latest officially released version.

The Categories support has been already introduced for the Unit Test Runnerin the current CodeRush release. Now, there are two useful actions added for creating specific keyboard shortcuts to run or debug test cases in the specific category:

  • UnitTestsRunCategory – runs test cases for the specified category (passed as a parameter to this action).
  • UnitTestsDebugCategory – starts debugging test cases for the specified category (passed as a parameter to this action).

See other actions and shortcuts for the CodeRush Unit Test Runner.

—–
Products: CodeRush Pro
Versions: 12.1 and up
VS IDEs: 2008 and up
Updated: Apr/09/2012
ID: U010

Smart Constructor Fields/Properties Chooser dialog improvements

April 9th, 2012 Comments off
NOTE: please take into account the “Versions” field at the bottom of the post, to determine the build number for which the content is applied. Click here to see the latest officially released version.

The Smart Constructor CodeRush feature allows you to add constructors to the current class or structure, and pass type members, like fields and properties for initialization through its parameters. To choose fields and properties that will be passed to a new constructor, the following dialog is used:

CodeRush Smart Constructor dialog

Read more…

A new button for the DXCore Visualize toolbar – Clear Solution Cache

April 9th, 2012 Comments off
NOTE: please take into account the “Versions” field at the bottom of the post, to determine the build number for which the content is applied. Click here to see the latest officially released version.

The DXCore Visualize toolbar now has a new button – Clear Solution Cache:

Clear Solution Cache on the DXCore Visialize Toolbar

Read more…

Refactorings for graphics – Convert to Size

March 23rd, 2012 Comments off

The Convert to Size refactoring from DevExpress Refactor! Pro consolidates selected numeric parameters into a System.Drawing.Size (System.Windows.Size in WPF projects) or SizeF object. It might be useful to combine two parameters into a single parameter, reducing the overall number of method parameters and increasing code readability.

Read more…