This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229056 - Display enum hint with value
Summary: Display enum hint with value
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 08:31 UTC by crimcat
Modified: 2013-04-26 08:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crimcat 2013-04-26 08:31:34 UTC
Current implementation of a popup hint over the enumeration constant element (hold Ctrl button when pointer is over the enumeration element) shown the following: "Enumerator XYZ of enum".
Sometime this is not enough. Suggest including the enumeration name and, in case if this element has a predefined value, also display this value.
For example, in case of the definition
enum Enumeration1 {
    ...
    ELEM_01 = 20,
    ...
};
bubble hint should contains the text like "Enumerator ELEM_01 = 20 of Enumeration1 enum".