New Line Separated to Comma Separated in IntelliJ IDE

New Line Separated to Comma Separated in IntelliJ IDE

Just a small tip to convert a file containing variables on separate lines (new line) to a comma separated form using IntelliJ (anyone of their IDEs actually)

You can use this instead of using an online utility (especially useful if you don't want to upload such data anywhere)

cs.gif