Community
Participate
Working Groups
When using an Eclipse editor, the "Delete Line" shortcut (Ctrl+D or Cmd+D by default) does not delete the last line. This technically makes sense: if it's empty, the last line doesn't really exist per say, it's the visual representation of the newline character from the previous line. However, from a user perspective, this is annoying. I often find myself jumping to the end of the file and wanting to delete lines (for example when you end up with too many trailing empty new lines), and I regularly get caught by the fact that the shortcut doesn't work there. IntelliJ allows to delete trailing lines using the delete line shortcut. Could this behaviour please be changed in Eclipse?
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/167043
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/167043 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=1bebc2ee92d1b9b2e5325f51fb6dc28b03803e47
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/167427
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/167427 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=6952968d00477c57c6feaea28c7690824b78e77b