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
The text for this section is unhighlighted, and hovering tells me This setting cannot be applied in this workspace. It will be applied when you open the containing workspace folder directly.
Much gratitude to @bradlc for helping me resolve this in the tailwind discord 👏
The issue was that I had excluded all JS files in my vs code settings, as this prevents vs code from reading the tailwindconfig.js file. The resolution was to change that exclude to match src/**/*.js instead of **/*.js . After restarting vs code I now have intellisense whenever I edit a className!
In VS code, I'm not able to get intellisense working in a Typescript+react project (component files are using the extension .tsx)
In my
.vscode/settings.json
file:The text for this section is unhighlighted, and hovering tells me
This setting cannot be applied in this workspace. It will be applied when you open the containing workspace folder directly.
My code-workspace file:
And in my user settings:
I've tried multiple combinations of the tailwind settings; still, no luck. Anything else I can/should try?
The text was updated successfully, but these errors were encountered: