Ilanaya / vscode-tailwind-in-css

Home Page:https://marketplace.visualstudio.com/items?itemName=maIIady.tailwind-in-css

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Same prop names overriding

Ilanaya opened this issue · comments

If the rule props are the same the last will override previous, what will cause the previous one not to be counted as already used.
This is because of setting is the usedRules Map() based on rule prop, looks like it's gonna be better to use shortcut's name instead

image

I literally didn't get you. Try to rebuild the last sentence, some code samples / links are also welcome

Sorry, this issue is related to this pr, gonna give better explanation in comments