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 235341 - Cannot suppress error badges in third party CSS File
Summary: Cannot suppress error badges in third party CSS File
Status: RESOLVED DUPLICATE of bug 141181
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-31 06:31 UTC by bht
Modified: 2013-09-02 09:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Web project in zip file (260.67 KB, application/zip)
2013-08-31 06:31 UTC, bht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2013-08-31 06:31:58 UTC
Created attachment 139523 [details]
Web project in zip file

In a Java EE web project I am using a set of dojo library files that I custom-generated a while ago.

These files are in the web directory. The project does not use any registered js libraries. However, the IDE detects my files in the Project Properties|JavaScript Files.

NetBeans 7.4 is smarter than 7.3 and finds errors in a CSS file claro.css.

The entire project now is erroneous because of this.

To suppress the error badges, I thought that a file exclusion expression in the Project|Properties|Sources|Includes/Excludes button|Dialog would eliminate this problem.

I can confirm that the file filter worked because the excluded files were missing from the build directory. I added an ant task to the build script to copy them.

The excluded files are not visible in the project view, but in in the files view as expected.

I closed the IDE and cleared the cache, but the error badges on the css file still appear in the Files view.

In the Projects view, the error badges also appear on all parent folders, but without reference to any file.

The attached project is generated by the IDE via Menu|File|New Project|Java Web|Web Application

I only added the dojo files and the exclusion expression.

The attached project is generated by the IDE via Menu|File|New Project|Java Web|Web Application
Comment 1 Marek Fukala 2013-09-02 09:22:48 UTC
Though the parsing errors in the css file are valid, I agree with you, there should be a way how to suppress these errors. Such enhancement is filled as issue 141181 - it should be possible to enable/disable CSS warnings, and is added to nb 8 plan.

*** This bug has been marked as a duplicate of bug 141181 ***