Open drgarlic opened 4 years ago
Could this be done with Prettier? I'm sure it could be added to Headwind but it seems as if it's more of a Prettier preference.
Maybe ? I don't use Prettier, wouldn't there be a conflict of which action would go first ?
+1 to this suggestion
Would love to see this.
I agree, 1 class per line is beautiful and much more readable.
Theoretically, this could be done with a new line in the replacement
option, right? But I guess the indentation could end up wrong
Hi,
The library is great, though it doesn't work when I have one css class per line (which is in my opinion much cleaner).
Here's my code:
Here's the output on save:
Here's what it should be:
Instead of generating a new string with classes it should swap them or maybe add an option for this kind of format.
Is that something that can be done or is there some kind of limitation from VS Code ?
Thank you !