Remove ConvertTrimMarginToTrimIndentIntention

Relates to #KT-31502
This commit is contained in:
Dmitry Gridin
2019-05-27 17:32:38 +07:00
parent 0b9b49d7bc
commit 26478b1374
19 changed files with 0 additions and 262 deletions
@@ -1 +0,0 @@
org.jetbrains.kotlin.idea.intentions.ConvertTrimMarginToTrimIndentIntention
@@ -1,9 +0,0 @@
// WITH_RUNTIME
fun test() {
val x =
"""
|a
| b
|c
""".<caret>trimMargin()
}
@@ -1,9 +0,0 @@
// WITH_RUNTIME
fun test() {
val x =
"""
a
b
c
""".trimIndent()
}
@@ -1,9 +0,0 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val x =
"""
\a
\b
""".<caret>trimMargin("\\")
}
@@ -1,9 +0,0 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val x =
"""
|a
b
""".<caret>trimMargin()
}
@@ -1,9 +0,0 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val x =
"""1
|a
|b
""".<caret>trimMargin()
}
@@ -1,9 +0,0 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val x =
"""
|a
|b
1"""<caret>.trimMargin()
}
@@ -1,5 +0,0 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val x = " |a".<caret>trimMargin()
}
@@ -1,9 +0,0 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test(marginPrefix: String) {
val x =
"""
|a
|b
""".<caret>trimMargin(marginPrefix)
}
@@ -1,9 +0,0 @@
// INTENTION_TEXT: "Convert to 'trimIndent'"
// WITH_RUNTIME
fun test() {
val x =
"""
|a
|b
""".<caret>trimMargin()
}
@@ -1,9 +0,0 @@
// INTENTION_TEXT: "Convert to 'trimIndent'"
// WITH_RUNTIME
fun test() {
val x =
"""
a
b
""".trimIndent()
}
@@ -1,9 +0,0 @@
// WITH_RUNTIME
fun test() {
val x =
"""
#a
#b
""".<caret>trimMargin("#")
}
@@ -1,9 +0,0 @@
// WITH_RUNTIME
fun test() {
val x =
"""
a
b
""".trimIndent()
}