Open jpike88 opened 2 days ago
Thank you for the suggestion. However, this would be hard to implement. To get all possible tailwindcss class names, the plugin would need to read the tailwind config, as it allows adding additional classes to tailwind.
Currently, the plugin is a simple textmate grammar that provides syntax highlighting using regular expressions.
With tailwindcss 4, the configuration system will change significantly, making it even more complex. Configurations can be split across multiple css files in different locations.
Given these upcoming changes, I think it makes sense to wait for tailwindcss 4 before starting an implementation attempt.
see these cases, only a few are tailwind. the syntax coloring should tell the difference.