java completion: suggest ref[0] in basic completion as we do in smart one (towards IDEA-145958)

GitOrigin-RevId: 26c336f486c3e7c8a94bee43df52d559821807f9
This commit is contained in:
Peter Gromov
2020-06-12 18:28:05 +03:00
committed by intellij-monorepo-bot
parent 113c6a7fd2
commit 040a0b2d7e
5 changed files with 30 additions and 16 deletions
@@ -0,0 +1,8 @@
public class SomeClass {
{
int[] aaa = new int[1];
int bbb = a<caret>
}
}
@@ -0,0 +1,8 @@
public class SomeClass {
{
int[] aaa = new int[1];
int bbb = aaa[0]<caret>
}
}