Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can choose different intention options for Scala multi-line strings. Place your cursor on the string and press

span
classshortcut
Alt
+
span
classshortcut
Enter
.

For example, if you select Convert to "String" option, you will see the following result:

If you decide to convert it back to multi-line string, it will delete the escaped sequences such as
_ or _\n
.
The multi-line string is converted to the one-line string.

...