tailwind-bundle icon indicating copy to clipboard operation
tailwind-bundle copied to clipboard

Jetbrains autocomplete on clean symfony project

Open bsdrazor opened this issue 2 years ago • 3 comments

I've just created a new symfony project, installed only this bundle. With ./bin/console tailwind:init commad initiated the config files When I try to edit some twig files in templates folder, or the app.css file - the Jetbrains Tailwind plugin doesnt autocompletes anything. Can someone give an advice how to make it work ? Many thanks for any answer

bsdrazor avatar Nov 17 '23 11:11 bsdrazor

My understanding is that for autocomplete in IDE (I have PhpStorm) you need to have tailwindcss npm package installed. I did yarn install tailwindcss and disable/enable Tailwind plugin and I got autocomplete back.

As having package.json and node_modules is not needed with Asset Mapper, I might just gitignore also package.json + lock file and install them when I init my project.

back-2-95 avatar Nov 27 '23 05:11 back-2-95

That’s an annoying requirement - it’d be great if jetbrains could find / be configured to use the standalone official binary the bundle downloads.

weaverryan avatar Dec 02 '23 02:12 weaverryan

There is already a support ticket for it

fracsi avatar Dec 06 '23 14:12 fracsi