I have a Astro project with Qwik and TypeScript, but my Ctrl + Space is not working as expected.
Screenshots: IntelliSense not working with Benefit component
/* benefit.astro */
type Props = {
title: string;
content: string;
horizontalInvertion?: boolean;
}
const { title, content, horizontalInvertion } = Astro.props;
It only suggests when I start typing something
I've already tried:
This worked for me. Click the shield icon turn on the trust workspace and it worked:
After trying several things like reinstalling, deleting files and so on...
What did solve it was to add "class"
in "tailwindCSS.classAttributes"
array, in your settings.json.
And I also had every other recommended setting like "tailwindCSS.includeLanguages": {"astro": "html"}
, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With