dadu
dadu

Reputation: 21

the text is all white in babel/js and react. What can I do to change it?

enter image description here Text is all white here. I do nothing yesterday everything was okay. Can someone help?

Upvotes: 1

Views: 401

Answers (3)

Arvind Yadav
Arvind Yadav

Reputation: 394

It's set as plain text as you can see in the bottom right corner. You have to save it as one of VS Code's given file extensions or you have to download a extensions for your programming language.

Ref: This link

Upvotes: 1

Haneen
Haneen

Reputation: 1146

This is caused by the extension called Javascript and Typescript Nightly. As for a temporary fix, you could downgrade or either disable it.

See stackoverflow

Upvotes: 2

dreambold
dreambold

Reputation: 3070

You can try to fix it by disabling/uninstalling the vscode-babel-coloring plugin for Babel ES6/7 syntax coloring by dzannotti.

OR you can try to install this plugin: https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel

Upvotes: 2

Related Questions