How to turn off the warning: "Selector 'header' is never used"?

Hi,

If I have the following css declaration in a jsp-file, IDEA gives the
warning "Selector 'header' is never used", even though it is.

.header {
background-color: #ffffff;
}

I have not been able to find this warning among the other
warnings/inspections.
How can I turn it off?

Thanks in advance!

Regards,
/Jonas


3 comments
Comment actions Permalink

Hi,

Right now, there is no way.
Btw, how the actual usage looks like?

Jonas Larsen wrote:

Hi,

If I have the following css declaration in a jsp-file, IDEA gives the
warning "Selector 'header' is never used", even though it is.

.header {
background-color: #ffffff;
}

I have not been able to find this warning among the other
warnings/inspections.
How can I turn it off?

Thanks in advance!

Regards,
/Jonas



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Hi,

The usage looks like this:

My header Regards, /Jonas "Maxim Mossienko (JetBrains)" ]]> wrote in
message news:e285lr$q9f$1@is.intellij.net...

Hi,

>

Right now, there is no way.
Btw, how the actual usage looks like?

>

Jonas Larsen wrote:

>> Hi,
>>
>> If I have the following css declaration in a jsp-file, IDEA gives the
>> warning "Selector 'header' is never used", even though it is.
>>
>> .header {
>> background-color: #ffffff;
>> }
>>
>> I have not been able to find this warning among the other
>> warnings/inspections.
>> How can I turn it off?
>>
>> Thanks in advance!
>>
>> Regards,
>> /Jonas
>
>

--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"



0
Comment actions Permalink

Hi,

This is pretty strange. Could you please file JIRA item with complete
jsp that does not have css selector resolved. Thank you in advance.

Jonas Larsen wrote:

Hi,

The usage looks like this:

<td >My header</td>

Regards,
/Jonas
"Maxim Mossienko (JetBrains)" <Maxim.Mossienko@jetbrains.com> wrote in
message news:e285lr$q9f$1@is.intellij.net...

>>Hi,
>>
>>Right now, there is no way.
>>Btw, how the actual usage looks like?
>>
>>Jonas Larsen wrote:
>>
>>>Hi,
>>>
>>>If I have the following css declaration in a jsp-file, IDEA gives the
>>>warning "Selector 'header' is never used", even though it is.
>>>
>>> .header {
>>> background-color: #ffffff;
>>> }
>>>
>>>I have not been able to find this warning among the other
>>>warnings/inspections.
>>>How can I turn it off?
>>>
>>>Thanks in advance!
>>>
>>>Regards,
>>>/Jonas
>>
>>
>>--
>>Best regards,
>> Maxim Mossienko
>>IntelliJ Labs / JetBrains Inc.
>>http://www.intellij.com
>>"Develop with pleasure!"




--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.