ABOUT
This plug-in allows you to override the default case for types in CodeRush's Instant Variable Declaration feature.
FEATURES
This plug-in registers a new command, EditNewVariableList, that brings up the Edit "New Variable" List dialog (shown below). You can add any custom case for your types here, and they will be used the next time you use Instant Variable Declaration.
For convenience, you may want to bind this command to a button on the toolbar or a keystroke initially. This will make it easier to fill out your list.
This plug-in requires the mdWare library. If you have not already installed this CodeRush plug-in library from Mark DuCharme, click here.
INSTALLATION
- Download and unzip the contents of this plugin into a directory of your choice.
- Start Delphi if it's not already running.
- From the CodeRush menu, select "About...".
- Click the "Packages" tab.
- Click the "Add..." button.
- Locate the CR_mdNewVarFix5.bpl package, and click "Open".
- Click OK to close the About CodeRush dialog.
- Additional information regarding this plug-in can be found in CR_mdNewVarFix5.txt, included with the zip file.
To assign a keyboard shortcut to the EditNewVariableList command, follow these steps:
- From the CodeRush menu, select "Options...".
- Click on the "Shortcuts" tab.
- Click the "New" button.
- Enter a new shortcut key that you will use to invoke this command (e.g., Alt+Shift+V).
- Select "EditNewVariableList" from the command list.
- Click OK.