Duplicate Line(s)
Posted: Tue Nov 29, 2011 12:02 pm
Oxygen is great for editing XML and XSL.
However, I am missing a very usefull Eclipse Shortcut: Duplicate Line(s)
In Eclispe:
CTRL + ALT + UP
or
CTRL + ALT + DOWN
copys the active line(s) and inserts them above/below the active line(s). This function keeps the selection and the clipboard as is.
Of cause this can be done by
- mark whole line (or section)
- copy
- unmark line
- paste
but the shortcut is much more convenient and keeps the clipboard and selection.
However, I am missing a very usefull Eclipse Shortcut: Duplicate Line(s)
In Eclispe:
CTRL + ALT + UP
or
CTRL + ALT + DOWN
copys the active line(s) and inserts them above/below the active line(s). This function keeps the selection and the clipboard as is.
Of cause this can be done by
- mark whole line (or section)
- copy
- unmark line
- paste
but the shortcut is much more convenient and keeps the clipboard and selection.