Versions Compared

Key

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

...

The .replace("\r"," ") intention lets you keep the 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
classshortcut
Alt
+
span
classshortcut
Enter
and select the appropriate intention from the drop-down list.



5. How to Insert an Inject Language/Reference Intention

You can inject language or a reference into your multi-line string literals.
Enter a multi-line string, press

span
classshortcut
Alt
+
span
classshortcut
Enter
and select Inject Language/Reference intention from the drop-down list.

...