specifying "image root" for <img> src validation

In 5.0, there is validation of the src attributes of ]]> tags in your HTML files. In our source base, all of the src attributes begin with "../images" (e.g. "../images/foo/bar.gif"). Unfortunately, all of the src attribute values are getting marked as warnings because the HTML is rendered dynamically and lives in a different directory from where the images live.

Is there a way to specify a "image root" or "static root" to help IDEA out here?

1 comment
Comment actions Permalink

Kendall Collett wrote:

In 5.0, there is validation of the src attributes of <img> tags in your HTML files. In our source base, all of the src attributes begin with "../images" (e.g. "../images/foo/bar.gif"). Unfortunately, all of the src attribute values are getting marked as warnings because the HTML is rendered dynamically and lives in a different directory from where the images live.

Is there a way to specify a "image root" or "static root" to help IDEA out here?


No, this is not possible. You should vote for
http://jetbrains.net/jira/browse/IDEABKL-3125

0

Please sign in to leave a comment.