Insert imports on copy/paste

Introduce KotlinCopyPasteReferenceProcessor
This commit is contained in:
Pavel V. Talanov
2014-01-22 20:29:46 +04:00
parent 2f55959578
commit 61153c87e0
138 changed files with 2813 additions and 0 deletions
@@ -0,0 +1,18 @@
package a
class A() {
}
class B() {
}
fun B.next(): Int = 3
fun B.hasNext(): Boolean = false
fun A.iterator() = B()
<selection>fun f() {
for (i in A()) {
}
}</selection>