- Place the caret on the line, to which the other lines should be added.

- Sequentially press
Ctrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JControl Shift JControl Shift JControl Shift J
keyboard shortcut, until all
fragments are joined in a single line.


- Select the lines with string literals that should be joined.
- Press Ctrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JControl Shift JControl Shift JControl Shift J keyboard shortcut. All redundant characters (spaces, quotes, and plus signs) are gone.
Examples
Joining a list of parameters:

Joining commented lines:


