KT-14386 Smart completion: add "<parameter name> = true/false" choices
#KT-14386 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
fun foo(s: String?, flag: Boolean, x: Int){}
|
||||
fun foo(xx: Boolean){}
|
||||
|
||||
fun bar() {
|
||||
foo(<caret>)
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "null", attributes: "bold" }
|
||||
// EXIST: { itemText: "true", attributes: "bold" }
|
||||
// EXIST: { itemText: "false", attributes: "bold" }
|
||||
// EXIST: { lookupString: "s = null", itemText: "s = null", attributes: "" }
|
||||
// EXIST: { lookupString: "xx = true", itemText: "xx = true", attributes: "" }
|
||||
// EXIST: { lookupString: "xx = false", itemText: "xx = false", attributes: "" }
|
||||
Reference in New Issue
Block a user