Delete a line in Eclipse

Ctrl + D

From Help->Key Assist... there are all kinds of useful keyboard shortcuts for Eclipse.

For Mac users: + D


In the future, if you need to quickly find a keyboard shortcut for something simple, just hit Ctrl+Shift+L.


Ctrl + D should delete the line.


You can reassign the Delete Line command to your favourite hotkey.
Window->Preferences
General->Editors->Keys.

Now type "Delete" and reassign the filtered commando.