Insert import on applying top level function completion

This commit is contained in:
Nikolay Krasko
2012-02-06 15:47:34 +04:00
parent 326c518dd9
commit afd8f380c9
17 changed files with 349 additions and 124 deletions
@@ -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>)
}