java completion: improve constructor reference suggestions

show class qualified name (IDEA-182806)
add navigation to the class
as a result, sorting by proximity now works, and so lambdas have to be preferred explicitly
This commit is contained in:
peter
2018-01-10 12:38:47 +01:00
parent 4abc1ba594
commit e230b13716
8 changed files with 40 additions and 19 deletions
@@ -3,6 +3,6 @@ import java.util.ArrayList;
class B {
static void bar(String s){}
{
new ArrayList<String>().forEach(<caret>);
new ArrayList<String>().forEach(b<caret>);
}
}
@@ -3,7 +3,7 @@ import java.util.List;
class MyTest {
void m(List<Person> l) {
l.stream().map(<caret>)
l.stream().map(get<caret>)
}
}