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

GoLand tips of the day, build 2078