Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetbrains autocomplete on clean symfony project #28

Open
bsdrazor opened this issue Nov 17, 2023 · 3 comments
Open

Jetbrains autocomplete on clean symfony project #28

bsdrazor opened this issue Nov 17, 2023 · 3 comments

Comments

@bsdrazor
Copy link

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

@back-2-95
Copy link
Contributor

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.

@weaverryan
Copy link
Contributor

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

@fracsi
Copy link
Contributor

fracsi commented Dec 6, 2023

There is already a support ticket for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants