Saad Khan
Saad Khan

Reputation: 15

VS Code Python Syntax Highlighting

I installed VS Code and have been working on it for a while. I've been facing a small problem. The syntax highlighting for the python code is not working. I'm still not familiar with the setting or if I'm doing something wrong. I have attached an image of the problem.

Heres an image that shows what's wrong

Upvotes: 0

Views: 157

Answers (1)

hrokr
hrokr

Reputation: 3569

Save your file as a .py so VScode knows it's looking a python file and can highlight the syntax accordingly.

Upvotes: 1

Related Questions