Closed oliverpatrick closed 3 months ago
Hey! So, I just tested intellisense using NativeWind and it appears to work fine:
This might be related to your config or potentially something else in your setup. You can see output from the extension by using the "Tailwind CSS: Show Output" command in your command palette. If you don't see it then that might mean the extension isn't detecting Tailwind. In which case I'd suggest updating to the pre-release and checking the output there (it's always available in the pre-release build).
I'm going to close this but if you're still encountering this issue please open a new issue and provide a reproduction repository on GitHub as it would be very helpful in figuring out what might be going wrong.
Thanks! ✨
Figured out my issue from the Tailwind CSS Output. I had moved my color definition to a separate Typescript file that I was referencing with a Typescript alias path instead of an absolute path: Updated
import { colors } from "~/colors";
to
import { colors } from "./src/colors";
fixed my particular issue
VSCode 1.87.0
What version of Tailwind CSS IntelliSense - Pre-release (0.11.40)
TailwindCSS as of date issue raised.
Npm Windows
VS Code settings
Reproduction URL
Describe your issue
Cant get intellisense on View or Text... Don't know if this is due to the nature of React-Native or if it genuinely is a bug.
If this is not a bug and more a feature that hasn't been implemented, can this be moved to a feature request? Thanks