Crocsx
Crocsx

Reputation: 7609

vs code typescript became white in a project

I am using typescript, and suddenly all my project became white. The only thing Highlighted are the parenthesis. I have no idea if I pressed a shortcut or something.

Other language like css and html have proper color, but all my Typescript is now fully white.

Is there some setting to check ?

I tried

Upvotes: 4

Views: 757

Answers (2)

First Arachne
First Arachne

Reputation: 829

Yes, the issue is caused by the latest version(v5.0.20221116) of JavaScript and TypeScript Nightly extension. You can downgrade the extension to v5.0.20221115 until they publish a fixed version.

Here is how to downgrade a VSCode extension: https://code.visualstudio.com/updates/v1_30#_install-previous-versions

Upvotes: 2

Yaros_npi
Yaros_npi

Reputation: 110

I had something similar, downgrading the JavaScript and TypeScript Nightly extension to the previous version fixed it.

enter image description here

Upvotes: 6

Related Questions