KT-7848: Literal copy/paste processor for Kotlin (#1074)
* KT-7848 Initial implementation of literal copy/paste processor for Kotlin * KT-7847: Tests * KT-7847: fix issues caught in unit tests with recognizing invalid template entries * KT-7847: check for KtFile * KT-7847: fix capitalization for test data file names * KT-7847: Initial changes according as per review
This commit is contained in:
committed by
Dmitry Jemerov
parent
8e00af5642
commit
99b1bb98dc
@@ -0,0 +1 @@
|
||||
val a = "begin $a else end"
|
||||
@@ -0,0 +1,2 @@
|
||||
val a = "something"
|
||||
val b = "something <selection>$a else</selection>"
|
||||
@@ -0,0 +1 @@
|
||||
val a = "begin <caret> end"
|
||||
@@ -0,0 +1 @@
|
||||
val a = "begin ${a.length} else end"
|
||||
@@ -0,0 +1,2 @@
|
||||
val a = "something"
|
||||
val b = "something <selection>${a.length} else</selection>"
|
||||
@@ -0,0 +1 @@
|
||||
val a = "begin <caret> end"
|
||||
Reference in New Issue
Block a user