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.
In PHP this doesn't happen (hints are not visible at all like in issue 224413). Please try following: file.js: var a = 1; var b = 1 if (a == b) { } // file end - change settings of these 2 hints to "Warning on current line": - missing semicolon - "Using === or !== instead..." - confirm changes - back in editor, place cursor to line "var a = 1;" => both hints are still visible Product Version: NetBeans IDE Dev (Build web-main-9627-on-20130103) Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Linux version 3.2.0-34-generic-pae running on i386; UTF-8; en_US (nb)
Same happens for me on PHP <?php if ($value = getValue()) { echo "value ist $value", PHP_EOL; } function getValue() { return true; } ?> The IF warns for accidentional assignment which is totally ok, but I do this as intention. In PHP this expression is true, if the content of the assignment is true. I don't like this to be displayed as warning, so I set it to "warning on current line", but then I do not see anything as warning - either at the scroll pane or when beeing on the line itself. Using the "display as info" works best for me, BUT that is not included in the action items!
I think your problem is more likely issue 143677 as you don't see the hint at all.