Talking of keyboard shortcuts here are some for manipulating lines in Eclipse editor.
- Alt+Arrow Up – Move current line or selected lines up
- Alt+Arrow Down – Move current line or selected lines down
- Ctrl+Alt+Arrow Up – Copy current line or selected lines up
- Ctrl+Alt+Arrow Down – Copy current line or selected lines down
- Ctrl+Shift+Enter – Insert a new line above the current line
- Shift+Enter – Insert a new line below the current line
- Ctrl+D – Delete current line
- Ctrl+Arrow Up – Scroll a line up
- Ctrl+Arrow Down – Scroll a line down
Ctrl+D At last! I’ve wanted this for ages, and hadn’t spotted that it had quietly slipped in between Eclipse 3.0 and 3.1. Thanks for pointing this out.
Some more short cuts at http://techmatrix.blogspot.com/2005/02/eclipse-shorcuts.html
and the entire list at
http://eclipse-tools.sourceforge.net/shortcuts.html
Drex,
Thanks for the links.
David: Ctrl-D was there already in Eclipse 3.0.
It is not mentioned in the "New editor functions" in http://download.eclipse.org/eclipse/downloads/drops/R-3.0-200406251208/eclipse-news-part2-R3.html , but it was probably realized with them.
marko