Join next line to current line.
This would be a small quality of life improvement in the User Interface. When editing SQL, it would be handy to move the contents of the following line to the existing line.
Example. Let's say the cursor is on line 8 and has an INNER JOIN table statement fragment on it. Line 9 has the ON part of the join condition. Pressing the keybind for "Join lines" would move up line 9 to the end of line 8 and move up all the following lines 10 through N to 9 through N.
I do realize this can be automatically managed through the various format sections and profiles and I have done that. But for ad-hoc editing sometimes the ability to occasionally join the next line with the current line is nice.
-
MEngelbyDA commented
I can't seem to edit my original post.
Anyway, when joining line 9 to line 8 (in my example) reduce all whitespace in the front of line 9 to a single space, then add it to line 8. This is basically just a shortcut to pressing the BACKSPACE key on the end of line 8 and then repeatedly pressing it to get rid of all the extra whitespace. That's what would be handy. To reduce the number of keystrokes to 1 for joining lines.