« Return to Thread: Generic way how to disable error checking in NB

Generic way how to disable error checking in NB

by Marek Fukala :: Rate this Message:

Reply to Author | View in Thread

Hi all,

In the web editing we have a problem that some HTML files are just
fragments of a bigger unit. These fragments are in most cases joined by
a templating language - JSP, RHTML or PHP.

These files are parsed and error annotations are created as any other
html file. This may lead to false errors since the page may contain just
  a part of the html code.

It is not easily possible to determine which pages are just fragments
and which are not automatically. So it seems that it would be desirable
if there was a way how user can disable these checks for particular files.

I was thinking for example about:
1) an action "Enable Error Checking" with a checkbox in the editor popup
menu
2) or in the annotation popup menu
3) or on the file status icon

So my question is if there is a standart way how to handle this and if
not what would be the right UI for doing so.

http://www.netbeans.org/issues/show_bug.cgi?id=120828

Thanks,
Marek

 « Return to Thread: Generic way how to disable error checking in NB

LightInTheBox - Buy quality products at wholesale price