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,28 @@
package a
import a.A.Inner
import a.A.Nested
class A {
inner class Inner {
}
class Nested {
}
fun foo() {
}
}
fun A.ext() {
}
fun f(body: A.() -> Unit) {
}
<selection>fun g() {
f {
Inner()
Nested()
foo()
ext()
}
}</selection>