Insert imports on copy/paste
Introduce KotlinCopyPasteReferenceProcessor
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user