-
Notifications
You must be signed in to change notification settings - Fork 41
Tailwind CSS IntelliSence stopped working again #183
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
Comments
Hi Luuk—thanks for posting this! It looks like there are ongoing changes to the Tailwind CSS IntelliSense plugin that are changing how source detection works. Just to make sure we're in the same place, I'm finding the following:
Does the same happen to you? |
Hi there, Well, for me it doesn't work at all. It only works in my tailwind-editor.css file. |
Just to confirm, it doesn't work in any of the other CSS files, and it doesn't work in PHP files after saving changes to, e.g., Do you have any project or global settings for Tailwind CSS IntelliSense? |
I'm trying to create a repeatable process. To ensure a clean environment each time, I'm closing the VS Code window and reopening the repository. This is what I get in the output panel on load:
IntelliSense does not work anywhere. However, after opening two or three CSS files, this is added to the output:
At that point, IntelliSense seems to work in both CSS and PHP files everywhere I've tried. |
After investigating further, it appears the lines for IntelliSense only works after the lines for |
I've posted an issue in the Tailwind CSS IntelliSense repository: tailwindlabs/tailwindcss-intellisense#1302 It's definitely possible this is an issue on the _tw side, but my initial rounds of debugging haven't suggested any obvious fixes. |
Initial reports from the upstream issue are that this is a bug on the IntelliSense side, with the developer taking a look today. |
Alright, I’m curious. |
The fix for this now has a draft pull request: |
Alright, I’m curious when it gets added. |
This pull request has been added to the latest release: https://github.com/tailwindlabs/tailwindcss-intellisense/releases/tag/v0.14.17 Please let me know if things are working for you! |
Faced same issue, just updated the plugin and all seems to be working from a freshly generated project 👌 |
Awesome, thanks for letting me know! I'm going to close this as complete, but if anyone else encounters this issue, please comment below, and I'd be happy to revisit it. |
Hi,
When I download the them, run
npm install
andnpm run watch
, the Tailwind IntelliSence plugin stops working. Is there a solution to this?The text was updated successfully, but these errors were encountered: