Bug 364535 - [hovering] Add ordinal info to enum hovering info
Summary: [hovering] Add ordinal info to enum hovering info
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 01:29 EST by Paul Benedict CLA
Modified: 2011-11-23 02:29 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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