VS Code not highlighting python code correctly

I was running python os vs code and everything was fine. All of a sudden something happened and I don't know what it is that now vs code only highlights some stuff and others don't. I have both python and pylance installed. Does anyone know what the problem is?

I have attached an image so you can see the issue. The import and print are highlighted but the variables and pandas functions are not.

image



Read more here: https://stackoverflow.com/questions/67928194/vs-code-not-highlighting-python-code-correctly

Content Attribution

This content was originally published by Sputnik at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: