The Mega Super Copy feature allows you to add code with marked text elements to the clipboard. When you paste the code, CodeRush inserts linked text fields at the position of marked text elements. When you edit a text field, all other fields reflect the changes.
You should mark only those text elements (code parts) that you want to change after you paste the code.
This feature is useful for repetitive code that needs a few changes. For example, you know which code parts you want to change, and where CodeRush should position the cursor after each paste.
Select text in the editor and press Ctrl+Alt+Enter to add text to the multi-selection. See the Multi-Select feature for more information.
Select the code block (including multi-selection).
Copy or cut the code block.
After you insert the code, you can change these text fields in different code places at once.
The following screencast demonstrates the Mega Super Copy feature:
You can configure how CodeRush generates links and fields on the Editor | All Languages | Linked Text & Fields options page.
Put the caret at the place where you want the caret to be after you complete text fields edit operation.
Press Ctrl+Alt+Enter to add a zero-length multi-selection marker at that location. When you paste, CodeRush places an empty Text Field at this location.
Use Ctrl+Alt+V to paste the most recent Mega-Super-Copied text, even if it is not on the clipboard.