Community
Participate
Working Groups
When doing a CTRL+ALT+J to delete this line's line break and to merge this line with the next line, the caret is put to the end of the newly created line. This is annoying. Especially because there is a blank inserted between the two old lines, which I want to delete again. So it would be better to position the caret at the end of the first line before the two lines are merged. Alternatively I think it is a good idea to omit the blank between the two merged lines. On the other hand, sometimes this blank makes sense.
The join-lines functionality was tracked by bug 41573. The single-space-joint behaviour you're describing is consistent with how vi implements join-lines. Perhaps you could provide a patch to allow the joint to be configured using a preference? Action: org.eclipse.ui.texteditor.JoinLinesAction The action and its joint is configured by org.eclipse.ui.texteditor.AbstractTextEditor#createActions() Preference page: org.eclipse.ui.internal.editors.text.TextEditorDefaultsPreferencePage
(In reply to Armin Miedl from comment #0) > Alternatively I think it is a good idea to omit the blank between the two > merged lines. This is tracked by bug 412412. *** This bug has been marked as a duplicate of bug 243030 ***