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.
The switch statement with missing cases (on enum) should be highlighted (underlined), even when not at the switch line. See the screenshots from NetBeans and Eclipse.
Created attachment 153059 [details] No hint in NetBeans
Created attachment 153060 [details] Switch hint in Eclipse
In NB there is hint to add missing cases, but by default it is visible only when cursor is located over the 'switch' keyword
(In reply to Jiri Prox from comment #3) > In NB there is hint to add missing cases, but by default it is visible only > when cursor is located over the 'switch' keyword Yes, I found out that when I was preparing this report. But it's hardly visible and usually not even noticed because: 1. It doesn't even have an exclamation mark overlay, just a plain bulb icon 2. It's not underlined 3. The same bulb icon appears on various occasions when no action is necessary, for example on class name (to create a subclass or a test class), on "if" keyword (to invert if, and it has the exclamation mark overlay for some reason).