Intellij tip - Joining multiple lines into one

There are times when you have some code with each statement on its own line, and you want to move it all onto one line.

CSS is where I've needed this the most.

You start off with some code like this:
And really want this:
Intellij has a very simple way to do this by using Ctrl-Shift-J - for more information, see http://www.jetbrains.com/idea/webhelp/joining-lines-and-literals.html

Popular posts from this blog

Slow, Buffering, Stuttering Udemy Video

Looking for IT work in Australia? JobReel.com.au!