KT-1633 support completion of named function parameters
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package temp.test
|
||||
|
||||
class Options(val listNew: Boolean, val listMatch: Boolean) {
|
||||
}
|
||||
|
||||
fun listImportedFun() = 12
|
||||
val listImportedVal = 11
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
package test
|
||||
|
||||
import temp.test.*
|
||||
|
||||
val listThisFileVal = 12
|
||||
fun listThisFileFun() = 1
|
||||
|
||||
class ListThisFileClass {}
|
||||
|
||||
fun test(listParam: Int) {
|
||||
val listLocalVal = 12
|
||||
Options(list<caret>)
|
||||
}
|
||||
|
||||
// ORDER: listLocalVal
|
||||
// ORDER: listParam
|
||||
// ORDER: listThisFileVal
|
||||
// ORDER: listImportedVal
|
||||
// ORDER: listMatch
|
||||
// ORDER: listNew
|
||||
// ORDER: listThisFileFun
|
||||
// ORDER: listImportedFun
|
||||
Reference in New Issue
Block a user