Files
kotlin-fork/idea/idea-completion/testData/basic/multifile/PropertyKeysWithPrefix/PropertyKeysWithPrefix.kt.201
T
Dmitriy Novozhilov eeb9b3214c Switch to 202 platform
2020-11-28 14:25:19 +03:00

12 lines
532 B
Plaintext
Vendored

import org.jetbrains.annotations.PropertyKey
fun message(@PropertyKey(resourceBundle = "PropertyKeysWithPrefix") key: String) = key
fun test() {
message("foo.<caret>")
}
// EXIST: { lookupString: "foo.bar", itemText: "foo.bar", tailText: "1", typeText: "PropertyKeysWithPrefix" }
// EXIST: { lookupString: "foo.bar.baz", itemText: "foo.bar.baz", tailText: "3", typeText: "PropertyKeysWithPrefix" }
// EXIST: { lookupString: "foo.test", itemText: "foo.test", tailText: "4", typeText: "PropertyKeysWithPrefix" }
// NOTHING_ELSE