Completion of parameter name/types from the current file

This commit is contained in:
Valentin Kipyatkov
2015-06-18 17:51:47 +03:00
parent 22ad1389f5
commit 17500cef98
15 changed files with 233 additions and 69 deletions
+2 -2
View File
@@ -6,6 +6,6 @@ fun bar(o: Any) {
foo(o as <caret>)
}
// EXIST: { lookupString:"List", itemText:"List<String>" }
// EXIST: { lookupString:"Map", itemText:"Map<String, Int>" }
// EXIST: { lookupString:"List", itemText:"List<String>", tailText: " (kotlin)" }
// EXIST: { lookupString:"Map", itemText:"Map<String, Int>", tailText: " (kotlin)" }
// NOTHING_ELSE
+2 -2
View File
@@ -7,6 +7,6 @@ fun bar(o: Any) {
foo(o as <caret>)
}
// EXIST: { lookupString:"List", itemText:"List<String>" }
// EXIST: { lookupString:"String", itemText:"String" }
// EXIST: { lookupString:"List", itemText:"List<String>", tailText: " (kotlin)" }
// EXIST: { lookupString:"String", itemText:"String", tailText: " (kotlin)" }
// NOTHING_ELSE