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.
—–
Products: CodeRush Pro
Versions: 12.1 and up
VS IDEs: 2008 and up
Updated: Apr/09/2012
ID: U009
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:
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:
Or directly via keyboard shortcuts:
Shortcut |
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. |