Closed hoangnhan2ka3 closed 6 months ago
Hey @soranoo, did you notice that 🤣
Just noticed. If version 2 is out and it covers most of the features this package has. I will consider archiving this repo. Looking forward to your work! @n4j1Br4ch1D
But before it is out I will continue to maintain this pkg.
Checklist
- [x] Read all documentation
- [x] No related request
- [x] Meaningful issue title
Is your feature request related to a problem? Please describe. With Tailwind, sometimes we can add some complex class names as we like, or add custom
variants
(ref) with "special" characters. So perhaps having an option for users to edit theregex
of the class identification logic would be a good idea.The truth is that sometimes I want to tweak something to see if it works or not, but I don't really know which one to touch 🥲.
Describe the solution you'd like
It seems like this plugin wants to target many different
UI libraries
andframeworks
, not just NextJs w/ Tailwind. So you can refer to the implementation of this VSCode extension:
And here is
settings.json
with its basic settings:
Additional context If you have time then do it, I think it would be a good idea!
I'm not going to expose the regexes behind the scenes. Many regexes are involved in getting the whole system to work. Once the regexes become accessible, it will definitely make the project much more difficult to maintain.
If your special chara involves the class name extraction, you can check out the extractClassFromSelector
function in src/handlers/css.ts
.
Checklist
Is your feature request related to a problem? Please describe. With Tailwind, sometimes we can add some complex class names as we like, or add custom
variants
(ref) with "special" characters. So perhaps having an option for users to edit theregex
of the class identification logic would be a good idea.The truth is that sometimes I want to tweak something to see if it works or not, but I don't really know which one to touch 🥲.
Describe the solution you'd like
It seems like this plugin wants to target many different
UI libraries
andframeworks
, not just NextJs w/ Tailwind. So you can refer to the implementation of this VSCode extension:And here is
settings.json
with its basic settings:Additional context If you have time then do it, I think it would be a good idea!