You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a monorepo that does not have a tailwind.config.js/ts file at the root.
I have packages that do have a config, and the language server works fine.
But other packages that do not have, and still have tsx files, I do not have intellisense.
When adding a dummy tailwind.config.js file at the root, it does work, but when I am into a package that has a nested config file, I do not have intellisense for the custom colors etc.
:CocCommand tailwindCSS.forceActivate as you mentioned in another issue, do not exist anymore.
How can I have default tailwind intellisense for common classes in packages that do not have a config file?
And when I am in a package that does have, use this.
Is force starting the language server even without a found config file possible to get intellisense?
Thanks!
Edit: In nvim-lspconfig I can do the following: tailwindCSS.experimental.configFile
but does not exist in coc-tailwindcss3
The text was updated successfully, but these errors were encountered:
I am interested in something similar. It should be working in an index.html file with a header like <script src="https://cdn.tailwindcss.com"></script> .
Workaround for now though: add a tailwind config file.
I have a monorepo that does not have a tailwind.config.js/ts file at the root.
I have packages that do have a config, and the language server works fine.
But other packages that do not have, and still have tsx files, I do not have intellisense.
When adding a dummy tailwind.config.js file at the root, it does work, but when I am into a package that has a nested config file, I do not have intellisense for the custom colors etc.
:CocCommand tailwindCSS.forceActivate as you mentioned in another issue, do not exist anymore.
How can I have default tailwind intellisense for common classes in packages that do not have a config file?
And when I am in a package that does have, use this.
Is force starting the language server even without a found config file possible to get intellisense?
Thanks!
Edit: In nvim-lspconfig I can do the following: tailwindCSS.experimental.configFile
but does not exist in coc-tailwindcss3
The text was updated successfully, but these errors were encountered: