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.
$flag = TRUE; // this variable is hinted as unused $prefix = 'sushi_'; // this variable is also hinted as unused require './makepage.php'; --- /** makepage.php **/ if($flag) { /* stuff */ } $dish = $prefix.$name; It would be awesome if the Hint could catch that---there would be a lot fewer "false hints", which would make the hint more useful. As it is, the hints can be so many that I don't look at them anymore. One way to implement might be to add a flag in Options / Editor / Hints / Unused Variables to "Check Included Files". Thanks team, wishing you a beautiful week.
That hint is handled just in one file...this "global" crappy stuff is not supported intentionally. It's not easily feasible, so P4 for me as a reminder. Thanks!
*** Bug 228677 has been marked as a duplicate of this bug. ***