Many even simple editors (e.g. Notepad++ or RubyMine) have this: pressing Ctrl+D duplicates the current selection or the current line if nothing is selected.
Is there any shortcut like that in the Delphi IDE (2010 or XE2)? I read through the various short cut lists, but didn’t find anything.
CnPack plugin has this feature (Ctrl+Alt+D).