Anyone know the keyboard shortcut to copy/paste a line into a new line in Eclipse
, without having to highlight the entire line?
ctrl-alt
Ctrl+Alt+Down Copies current line to below like notepad++ (Ctrl+D)
If your whole screen is 180° rotted then you should disable your hotkey settings.
Right Click -> Graphics Options -> Hot Keys -> Disable
That it now you done try shortcut Ctrl+Alt+Down
Another shortcut way to do this is press Ctrl+Shift+L and select which command you want to perform and hit enter
its best practice for beginner.
If you want to copy a line to the clipboard you can also use the trick:
Ctrl-Alt-Down followed by Ctrl-X
The drawback is that the file where you copy the line from becomes dirty.
Try this in MAC.
ALT + COMMAND + DOWN
it works.
If Your Window pc, you may try this, it's also for STS:
Ctrl + win + Alt + Down :: Copy current line or selected line to below
Ctrl + win + Alt + Up :: Copy current line or selected line to above
It's working with me on , Eclipse + Spring tool suite .
ALT + COMMAND + DOWN