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.
Created attachment 141520 [details] Screen shot of the annoying hint. In NetBeans IDE 7.4 (Build 201310111528) I have encountered an issue with one of the editor hints. At the top of all my PHP documents I see the "HTML error checking for this file is disabled" hint [see annoyinggint.png]. I cannot for the life of me get this hint to go away. No matter what option I choose the hint remains. The actual hint text switches between "HTML error checking for this file is disabled" and "enabled". Or it moans about not finding a DOCTYPE. I have tried disabling HTML hints in the IDE's options, but this does nothing. I then tried disabling ALL PHP and HTML hints, and this successfully gets rid of the "HTML error checking" hint, but the "HTML version of the code cannot be determined" hint remains. It seems to me this is a defect if I cannot dismiss a hint I don't care about.
As designed - the hint is there so you can possibly enable the html validation. The same mechanism is used for javascript error checking. It doesn't affect the status of the file.
It is clearly true that this hint doesn't affect the status of the file However, as a general policy, it is good to 'resolve' all hints in a file before it is sent to production - when every file has a hint that can't be resolved, it prevents a 'no source code problems before committing' policy to be implemented (no problems except this hint doesn't really work)