tags:

views:

355

answers:

3

Anyone know the keyboard shortcut to copy/paste a line into a new line in Eclipse, without having to highlight the entire line?

Thanks.

BTW ctrl-alt-down turns my whole screen upside down (I'm on windows). Interestingly, that's what's specified in the windows/preferences.

A: 

See : http://forum.ecoustics.com/bbs/messages/8829/176000.html. If possible try remapping the keys in Eclipse.

Zaje
That makes my whole screen upside down (I'm on windows). Interestingly, that's specified in the windows/preferences.
Prabhu
On my computer, that just flips the whole screen upside down! If anyone is frantically trying to undo that, just do ctrl-alt-up to put it back to normal.
MatrixFrog
+3  A: 

Ctrl-Alt-Down: copies current line or selected lines to below

Ctrl-Alt-Up:: copies current line or selected lines to above

Ctrl-Shift-L: brings up a List of shortcut keys

See Windows/Preference->Keys.

Pierre-Antoine LaFayette
That makes my whole screen upside down (I'm on windows). Interestingly, that's specified in the windows/preference
Prabhu
A: 

OK, I just changed it to something else (ctrl+k) and that did it.

Thanks all.

Prabhu
You're supposed to select an answer, not add an answer that thanks us :) But you are welcome!
Pierre-Antoine LaFayette
thee you go...selected.
Prabhu