Is it possible to put CSS file to a library?

Hi, We use IDEA 14. We have tens of HTML files in the project. All these files uses same JS and CSS files. So we decided to remove them from the HEAD section and generate HEAD section on the server (and minify the files). But then we lost the code completion in HTML. The editor doesn't offer CSS classes when typing. Is it possible to put our CSS files to a library to be known for code completion while editing HTML files? Or do you have an idea how to solve it?

1 comment
Comment actions Permalink

unfortunately IDEA only uses selectors  from explicitly linked css files available locally when collecting the list of styles  defined for your page.
As a workaround I can only suggest adding  temporary links to local .css files to your files, and remove these links  in production version...
CSS libraries are not supported, please vote for


Please sign in to leave a comment.