Better indent in multi-line strings (KT-17849)
Inspired by MultilineStringEnterHandler from https://github.com/JetBrains/intellij-scala https://github.com/JetBrains/intellij-scala/blob/edb741f344afff063197b406ca0c7c266a26c436/src/org/jetbrains/plugins/scala/editor/enterHandler/MultilineStringEnterHandler.scala #KT-17849 Fixed
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
fun some() {
|
||||
val b = """<caret>
|
||||
""".trimMargin()
|
||||
}
|
||||
//-----
|
||||
fun some() {
|
||||
val b = """
|
||||
|<caret>
|
||||
""".trimMargin()
|
||||
}
|
||||
Reference in New Issue
Block a user