Duplicate the line at the caret position or code selection by pressing &shortcut:EditorDuplicate;.

GoLand tips, #2083