Sublime Forum

Tailwind autocomplete packages with prefix ability

#1

Are there any Tailwind autocomplete packages that allow you to use custom prefixes with the classes? For instance, in my Tailwind config, I can have prefix: 'tw-' and then the generated classes will be like tw-text-lg instead of the default text-lg.

So I’d like an autocomplete package that automatically adds the prefix to the classes.

0 Likes

#2

The following packages do that:

https://packagecontrol.io/packages/LSP
https://packagecontrol.io/packages/LSP-tailwindcss

2 Likes

#3

Excellent, thanks! I’d installed LSP but didn’t release there was a Tailwind package for it.

0 Likes