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 224505

Summary: Warn about non-resolvable paths in CSS
Product: web Reporter: c69
Component: RefactoringAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 224503, 224504    
Bug Blocks:    

Description c69 2013-01-04 18:07:36 UTC

We have a very small project - 1 folder with only 3 files in our project:
- main.css
- wrong_img.png
- wrong_css.css

/** Here is how main.css looks inside */
@import url("good.css")
html {
background-image: url('good_img.png');

When you open the file - everything looks fine. 
But if you make a project in IntelliJ IDEA or WebStorm or PHPStorm, then you will see, that both paths are red and there is a warning about non-resolvable path / filename.

Would be nice, if there was similar feature in NetBeans.
Comment 1 Marek Fukala 2013-01-07 11:12:21 UTC
Doable at least in static web project, where the URLs are likely to point to an existing (in design time) file. Still may produce some false alarms when there's some kind of CSS framework or the project is post-processed during the build.