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.

Bug 235311 - Missing CLASS/ID html rule can't be suppressed.
Summary: Missing CLASS/ID html rule can't be suppressed.
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-30 12:21 UTC by kmergen
Modified: 2014-10-06 13:26 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot of the html validator annotation (154.39 KB, image/png)
2013-08-30 14:18 UTC, kmergen
Details
left click shows menu for html validation (270.08 KB, image/png)
2013-08-30 14:30 UTC, kmergen
Details
problem fixed by disabled error checking (269.99 KB, image/png)
2013-08-30 15:36 UTC, kmergen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kmergen 2013-08-30 12:21:06 UTC
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?
Comment 1 Ondrej Brejla 2013-08-30 12:27:25 UTC
HTML validator is handle by HTML, Marku, can you help him? Thanks.
Comment 2 kmergen 2013-08-30 14:00:19 UTC
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.
Comment 3 kmergen 2013-08-30 14:18:48 UTC
Created attachment 139498 [details]
Screenshot of the html validator annotation
Comment 4 kmergen 2013-08-30 14:30:03 UTC
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.
Comment 5 kmergen 2013-08-30 15:36:01 UTC
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.
Comment 6 Marek Fukala 2013-09-02 09:32:53 UTC
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.