You can choose different intention options for Scala multi-line strings. Place your cursor on the string and press [span:class=shortcut}Alt
For example, if you select Convert to "String" option, you will see the following result:
The multi-line string is converted to the one-line string.
You can set different settings' options for multi-line strings. Image Added