Closed Firgrep closed 7 months ago
Great catch! It seems like this works inside Astro files directly, so it must be something related to our TypeScript plugin. Nowadays our TypeScript plugin essentially does nothing by itself, and everything happens in Volar itself. As such, this is most likely an issue upstream that might be affecting other frameworks using Volar.
Describe the Bug
The astro extension on VS code appears to switch off the green coloring for class objects.
Object
andNextResponse
should be green, but instead they're light-blue like normal variables. (I'm using color theme dark modern, but it appears to also affect other themes).Steps to Reproduce
Object.keys(someObject)
and see thatObject
is not appearing as normally green in VS Code's color config.Object
revert to green as expected.