IntellijIDEA Intellij IDEA lets you add different intentions for strings and perform different actions with strings in Scala. IntellijIDEA Intellij IDEA also supports the Scala multi-line strings feature. This feature lets you format literals and helps your code to look more orderly.
...
The .replace("\r"," ") intention lets you keep the carret caret in the correct place on the next line in the multi-line strings regardless of what operating system you have at the moment.
Enter a multi-line string, press
span | ||
---|---|---|
| ||
Alt |
span | ||
---|---|---|
| ||
Enter |
...