Home > Coding Helpers, Upcoming > Smart Constructor Fields/Properties Chooser dialog improvements

Smart Constructor Fields/Properties Chooser dialog improvements

April 9th, 2012
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

 Now, this dialog has been improved to easily select and unselect all items at once. You can do this via the context menu by right clicking the dialog or use the check box on the window title:

CodeRush Smart Constructor dialog with context menu

Or directly via keyboard shortcuts:


Action description

Ctrl+A Checks (selects) all items in the dialog
Ctrl+I Inverts the check state of all items.
Ctrl+Del Unchecks all items.
Products: CodeRush Pro
Versions: 12.1 and up
VS IDEs: 2008 and up
Updated: Apr/09/2012
ID: U009

Similar Posts: