Valid selectors marked as "never used"

 After many years with PHPED, I decide to try PHPStorm.  My first impressions are favorable.

However, I have found that numerous CSS selectors that are definitely in use are marked as "never used" and I'm prompted (lightbulb) to remove them.

What gives?  If we can't depend on valid syntax checking, it may as well not be there at all.

1 comment

PHPStorm doesn't normally show selectors in .css file as unused right in the editor - this inspection is only used in 'offline' mode (when running Code | Inspect Code...).

Does the issue occur when editing .php/.html files? Can you share a sample project that can be used to recreate it?

0

Please sign in to leave a comment.