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.
I have a php file test.php. This is a template file where php and html is mixed. Now I have set the html validator to html5. My problem is now that the editor shows me annotation warnings for missing doctype and missing css classes. But I want to the deactivate the html validator for this file. I have see that when I don't have chosen a html validator I can deactivate the html validator for this file but when I have set the html validator for example to html5, after that I can't find a possibility to deactivate it. Where can I deactivate the html validator?
HTML validator is handle by HTML, Marku, can you help him? Thanks.
I can not exactly say what I setting I have made, but it was not in the option menu. When I have installed netbeans 7.4 and I open a php file with html markup in it I don't have this issue that I have an annotation warning of missing css classes. When I click on the annotation I can choose a reference to an css file but this don't work.
Created attachment 139498 [details] Screenshot of the html validator annotation
Created attachment 139500 [details] left click shows menu for html validation Here I can choose the validator but it is not possible to deactivate the validator for this file.
Created attachment 139505 [details] problem fixed by disabled error checking I found the setting In the first line annotation I choose Disable error checking for all files of thype php. In the attachment I show the possibility to enable the error checking. The reindex all files.
Each html validator error annotation has a fix - disable checking for file/mime, but the rule "missing css class" don't have such setting as it is not provided by the html validator. There should be a way how to suppress it as well.