Files
kotlin-fork/idea/idea-completion/testData/basic/common/namedArguments/NamedArgumentOnItsOwnPosition.kt
T
Roman Golyshev 4b50fb18fb KT-35258 Add better completion for MixedNamedArgumentsInTheirOwnPosition feature
- When named parameter is on its own position, the completion of the next argument will not be limited by named arguments only
- The completion will not suggest already used arguments names
- ^KT-35258 Fixed
2020-01-17 12:06:08 +03:00

12 lines
229 B
Kotlin
Vendored

fun foo(p1: Int, p2: Int, p3: Long) {}
fun usage(param: Long) {
foo(p1 = 10, <caret>)
}
// LANGUAGE_VERSION: 1.4
// EXIST: param
// EXIST: { itemText: "p2 =" }
// EXIST: { itemText: "p3 =" }
// ABSENT: { itemText: "p1 =" }