'Visual Studio Code - All white text?

Recently my visual studio code's text has all been white and I cannot change it with the 'File > Preferences > Color Theme' options. This is not a problem on my laptop, which still has multicolored code.

Any ideas would be greatly appreciated!

Here's a picture of what it looks like



Solution 1:[1]

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.

Solution 2:[2]

Yes, you can see the blue bar at the bottom which is the status bar and at the rightmost side it shows that your file is saved as a Plain Text file. Click there and you can select a language for your file from the appearing list. For example, if you select Python it will be changed as Python file and then you should be able to execute it.

Solution 3:[3]

In the bottom right side of your vs code there will be plaine text click on that it will show different language select a language in which your code is written after the colour will automatically applied

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Philip
Solution 2 Jayalekshmi R J
Solution 3 Funny Vines