Project: JDT
Bug 378258 [hovering] F2 hover shows variable name instead of rich variable value hover
Reported: 2012-05-02 10:37:29 | Status: verified fixed

Set a breakpoint and then debug this: public class Try { static int fValue= 42; public static void main(String[] args) { System.out.println("hi " + fValue); } } Hovering over 'fValue' or 'out' shows the variable value hover, but F2 shows shows the variable name.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BestMatchHover.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaInformationProvider.java