Versions Compared

Key

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

...

For the Scala version 2.10 and later you also have the ability to convert a string concatenation into the interpolated string.
To do that, select a value with concatenation in your string and press

span
classshortcut
Alt
+
span
classshortcut
Enter
. The list of appropriate intentions opens. You can also choose an option Convert to formatted string and get your basic Java formatted string.

Select Convert to interpolated string, press
span
classshortcut
Enter
and view the result.

...