Intention to convert raw string literal to ordinary one

#KT-5208 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-03-03 13:09:11 +03:00
parent ecebb80bbe
commit 384183ad7b
13 changed files with 106 additions and 0 deletions
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.intentions.ToOrdinaryStringLiteralIntention
@@ -0,0 +1,2 @@
val v = <caret>"""${2 +
2}"""
@@ -0,0 +1,2 @@
val v = "${2 +
2}"
@@ -0,0 +1 @@
val v = <caret>""""Hello, world!" \ 'a'"""
@@ -0,0 +1 @@
val v = <caret>"\"Hello, world!\" \\ 'a'"
@@ -0,0 +1,2 @@
val v = <caret>""""\Hello,
world!\""""
@@ -0,0 +1 @@
val v = <caret>"\"\\Hello,\nworld!\\\""