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 243406

Summary: Introduce visual distinction between warnings and (suggestion) hints
Product: java Reporter: host <host>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Lightbulb with info sign

Description host 2014-03-31 12:54:08 UTC
Created attachment 146431 [details]
Lightbulb with info sign

Currently, for both warnings (e.g. "Field hides another field") and (suggestion) hints (e.g. "Can use functional operations") the same icon (i.e. lightbulb with exclamation mark) is used. 

But it would be good to make a clear, visual distinction between true warnings for...
- code that is potentially buggy (e.g. mistakingly re-use a variable name and thus hiding another one) and
- hints for code that might be improved by newer language features (e.g. replace for-loops with functional operations).

So keep the current icon for the warning and use perhaps a light bulb combined with a information icon for the hints. I have attached a proposal for that icon.