Introduce intention: trimMargin <--> trimIndent #KT-25056 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
df6d4f358a
commit
9e83506c02
+7
@@ -0,0 +1,7 @@
|
||||
fun test() {
|
||||
val x =
|
||||
<spot>"""
|
||||
a
|
||||
b
|
||||
""".trimIndent()</spot>
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fun test() {
|
||||
val x =
|
||||
<spot>"""
|
||||
|a
|
||||
|b
|
||||
""".trimMargin()</spot>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts an <b>trimMargin()</b> call to an <b>trimIndent()</b> call.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user