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.
Summary: | Changing hint from Warning to Warning on current line not reflected in editor | ||
---|---|---|---|
Product: | javascript | Reporter: | Vladimir Riha <vriha> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | CC: | markuszeller, vriha |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vladimir Riha
2013-01-04 11:23:09 UTC
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. |