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 - Warn about non-resolvable paths in CSS
Summary: Warn about non-resolvable paths in CSS
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on: 224503 224504
Blocks:
  Show dependency tree
 
Reported: 2013-01-04 18:07 UTC by c69
Modified: 2014-10-06 13:26 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description c69 2013-01-04 18:07:36 UTC
Example:

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.