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 - Introduce visual distinction between warnings and (suggestion) hints
Summary: Introduce visual distinction between warnings and (suggestion) hints
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 12:54 UTC by host
Modified: 2015-10-02 15:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Lightbulb with info sign (3.88 KB, image/png)
2014-03-31 12:54 UTC, host
Details

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