Variables and functions not being color coded in Python [closed]

3 days ago 10
ARTICLE AD BOX

I have a problem in VS Code where the variables in my code don't turn blue, the functions don't turn yellow, and the imported library doesn't turn green. I rely on this a lot to tell what kind of keyword it is.

I'm in the correct language mode. I'm using the Dark Modern theme, but I've also tried switching themes, and the keywords still don't change colors correctly (the colorless words look the same in every theme).

When I write code in C++, the keyword colors look normal, so this seems to be a Python thing.

image of code without proper highlighting

Read Entire Article