Smart completion for generic class instantiation to not insert explicit type arguments (for they'll probably be inferred from the expected type)
This commit is contained in:
@@ -2,4 +2,4 @@ import java.util.ArrayList
|
||||
|
||||
var a : ArrayList<String> = <caret>
|
||||
|
||||
// EXIST: { lookupString: "ArrayList", itemText: "ArrayList<String>", tailText: "(...) (java.util)" }
|
||||
// EXIST: { lookupString: "ArrayList", itemText: "ArrayList", tailText: "(...) (java.util)" }
|
||||
|
||||
@@ -4,4 +4,4 @@ fun foo(p : Any){
|
||||
var a : Foo<String> = <caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString:"Foo", itemText:"Foo<String>", tailText:"() (<root>)" }
|
||||
// EXIST: { lookupString:"Foo", itemText:"Foo", tailText:"() (<root>)" }
|
||||
|
||||
Reference in New Issue
Block a user