How to get css code completion without a css import on the page?

Most of my JSPs do not have a css import declaration on the page since they are often includes/fragments/tiles. Is there a way I can get the code completion support for html" >]]> without having a ccs import or css file on the page?

6 comments
Comment actions Permalink

This is probably my #1 complaint regarding CSS support. We need a way to "map" which CSS files each of our pages use (something like: /* -> site.css) for it to be of any use to JSP developers.

0
Comment actions Permalink

Ok so I'm guessing the answer to my question is no:)

You would think a temporary solution might be to simply allow an "external resources" dialog for your project, where you could map any css files you wanted. Yes, it would be better to have it work on a page-centric set-up, but I'd settle for just a catch-all of any css files that were added as an external resource.

0
Comment actions Permalink

Actually what would be really nice is if you had the best of both options... you can define css files that your whole project has access to... and then also you could provide per-page ones. I wouldn't want to have to go to the dialog to add a new css reference for every new page I create, I'd want it to automatically know about some base css files.

0
Comment actions Permalink

That's why mapping is the best of both world. If your stylesheets are applied to every page in your project, we would just define a "catch all" mapping to that stylesheet; if you have different "sections" in your project, each using a different stylesheet, we would map that too.

0
Comment actions Permalink

In article <21787107.1125469584493.JavaMail.javamailuser@localhost>,
Marcus Brito <mbrito@gmail.com> wrote:

This is probably my #1 complaint regarding CSS support. We need a way to
"map" which CSS files each of our pages use (something like: /* -> site.css)
for it to be of any use to JSP developers.


This is what I had suggested in a feature request filed during EAP, it
was backlogged. Mapping CSS, dynamic files etc... is the only way to
resolve things and get full support for css, dynamic links etc...

R

0
Comment actions Permalink

http://www.jetbrains.net/jira/browse/IDEA-3941

I entered this a while ago to make .css work like .properties.

Rick wrote:

>Most of my JSPs do not have a css import declaration on the page since they are often includes/fragments/tiles. Is there a way I can get the code completion support for html" >]]> without having a ccs import or css file on the page?

>

0

Please sign in to leave a comment.