My IntelliJ and Clion can help split a long line into multiple with the auto-formatting, but the not the other way around. How should it merge multiple short lines into a single longer line?
This is needed quite often. For example it happens after I renaming a long variable, and that makes the function call chain being able to fit in a single line. My Gift Card Site
Example, what I want is:
1 Codes before formatting:
2 Intellij or Clion auto-format should change it to: