Possible Duplicate:
Eclipse copy/paste entire line keyboard shortcut
I want to create an eclipse shortcut.
Wherever line cursor on (without selection) when pressed Ctrl+C, eclipse will copy the whole line to clipboard.
Is this possible?
Possible Duplicate:
Eclipse copy/paste entire line keyboard shortcut
I want to create an eclipse shortcut.
Wherever line cursor on (without selection) when pressed Ctrl+C, eclipse will copy the whole line to clipboard.
Is this possible?
Key bindings can be associated with commands, but this operation would be 3 commands - Line Start, Select Line End, Copy. You'd have to implement your own command to execute all the three (id = org.eclipse.ui.edit.text.goto.lineStart, id = org.eclipse.ui.edit.text.select.lineEnd and id = org.eclipse.ui.edit.copy). But setting Ctrl+C as key binding would conflict with existing binding - Copy.