Community
Participate
Working Groups
Build Identifier: 20110916-0149 When navigating through an array in the Java editor, an array index doesn't popup in a tool tip. A tool tip should show up displaying the array index. For example, if my cursor is position somewhere on "two" (in the code below), a tool tip should pop up saying "numbers[2]". For multi-dimensional arrays, the tool tip should say "numbers[2][5][1]". This will great aid writing and maintain long or complex initialization arrays. Reproducible: Always Steps to Reproduce: 1. Create the following array in a Java method: String numbers[] = new String [] {"zero", "one", "two", "three"}; 2. Place the cursor at some element in the array. 3. No tool tip pops up showing the current array index.
Note that this can get quite complex, since not all array declarations are that simple and can be deeply nested.