#My Types/Intellisense is completely borked since a few days ago

9 messages · Page 1 of 1 (latest)

opaque urchin
#

I don't know what happened, but all the repos on my computer now have Intellisense issues on all my .astro files.
This is a sample...

I have like 30 or 40 repos on my computer, quite a few of them are Astro websites... this is happening across the board, and I didn't change anything to any of them that could've caused this widespread issue...

gilded matrix
#

Just curious, what version of the astro plugin are you using? I no there was an issue not too long ago with imports after the last vscode update. I believe they updated volar in the last astro plugin update.

crisp herald
#

@kindred laurel may know

opaque urchin
opaque urchin
opaque urchin
#

Looks like what fixes this for me is adding
"jsxFactory": "astroHTML",
To the tsconfig.json explicitly, even though doing "extends": "astro/tsconfigs/strict", should be enough shrugg

And yes, I keep updating/upgrading Astro, so the problem isn't related to an old version or something.

#

I tested commenting this line in the tsconfig and restarting the IDE and everything's screwed like on my previously shared screenshot, but if I have it, it goes away and works fine.

kindred laurel
#

How do you open your workspace?

opaque urchin