coc-tailwindcss3 icon indicating copy to clipboard operation
coc-tailwindcss3 copied to clipboard

How to force start in monorepo

Open AkisArou opened this issue 1 year ago • 1 comments

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

AkisArou avatar Jan 12 '24 18:01 AkisArou