tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

CSS class directive not recognised as used #115

Closed palasjir closed 3 years ago

palasjir commented 4 years ago

When using class directives used css class within style is marked as unused.

Example:

<style>
.active { } // this is marked as unused by the editor
</style>

<div class:active></div>

Expected:

<style>
.hello {} // this class is used
.active { } // this class is used
.disabled { } // this class is truly unused
</style>

<div class:active class="hello"></div>
tomblachut commented 4 years ago

Related to #11

tomblachut commented 3 years ago

Will be released as part of 0.16.0