Smart Duplicate Selection

You can select a code block and use the Shift+Enter shortcut to duplicate it. CodeRush enables you to create structurally similar code blocks.

SDS

Tips and Tricks

  • The last duplication is repeated if you press Shift+Enter without selecting any code.
  • Text fields can be defined manually before duplication using Multi-Select.
  • You can dismiss all text fields using the Esc key if Smart Duplicate Selection generates unnecessary text fields.

See Also