Joining lines in text editors is easy and sometimes it makes code more readable.
Just remember the key combination which is:

Ctrl + Alt + J

Try it.