Bug 364535

Summary: [hovering] Add ordinal info to enum hovering info
Product: [Eclipse Project] JDT Reporter: Paul Benedict <pbenedict>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Paul Benedict CLA 2011-11-23 01:29:38 EST
Build Identifier: 20110916-0149

When hovering over an enum, the FQN is the only thing shown in the popup. Since enums are inherently ordered, it would be nice to add the index since this should be readily available. This would be an easy enhancement and provides direct benefit when the ordinal value is needed. Maybe something like:

"com.company.MY_ENUM (ordinal 2)"
                     ^^^^^^^^^^^ <-- new text

Reproducible: Always