Join/Split Lines
The Join/Split Lines plugin can join shorter lines into one longer line, or can split a long line into multiple shorter lines.
To enable the plugin:
Press the menu button in the top-right corner of the window and select Preferences ▸ Plugins.
Select Join/Split Lines to enable the plugin.
To join multiple lines into one longer line:
Select the lines that you want to join. To do this, you can use the mouse, or you can press Shift+Up Arrow or Shift+Down Arrow.
-
Press Ctrl+J.
The lines that you selected will be joined into one longer line.
To split one line into multiple lines:
Select the line that you want to split by placing your cursor anywhere on that line.
-
Press Ctrl+Shift+J.
The line will be split into multiple lines. Spaces are used to determine where it is safe to split a line, and the length of each line will not exceed 80 characters.