Home > Blockchain >  vs code typescript became white in a project
vs code typescript became white in a project

Time:11-18

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

  • change theme to Dark
  • clear editor history
  • restart computer enter image description here

CodePudding user response:

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

enter image description here

CodePudding user response:

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

  • Related