Insert import on applying top level function completion
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
package testing.handlers
|
||||
|
||||
fun test() {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
package testing.handlers
|
||||
|
||||
fun test() {
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package some
|
||||
|
||||
import java.util.SortedSet
|
||||
|
||||
fun other() {
|
||||
somefu<caret>
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package jettesting.data
|
||||
|
||||
class ClassFromJet {
|
||||
}
|
||||
|
||||
fun <T>somefun(ii : T) : String {
|
||||
return ii.toString()
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package some
|
||||
|
||||
import java.util.SortedSet
|
||||
import jettesting.data.somefun
|
||||
|
||||
fun other() {
|
||||
somefun(<caret>)
|
||||
}
|
||||
Reference in New Issue
Block a user