To duplicate lines I use
Ctrl + D
Is there a similar way to select/copy current line using keyboard in IntelliJ IDEA?
In Mac OS ,i would like to keymap :
Command + D (Duplicate Line Or Selection) ==> Command + D (Duplicate Entire Lines)
This can duplicate a/multi line with the caret (insertion point) ,work in IntelliJ 2018.1.
or another way:
copy multiline with the caret (insertion point),not change keymapp, copy extra newline feed hidden "\n":