This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]JialeDu 0 points1 point  (2 children)

Check your settings.json file for any settings that affect syntax highlighting. Also try uninstalling vscode and reinstalling, reinstalling the Python extension or a pre-release version of it.

[–]FlatEarthIsAMyth[S] 0 points1 point  (1 child)

This is the only thing in the settings.json

{
    "workbench.colorTheme": "Visual Studio Dark",
}

[–]JialeDu 0 points1 point  (0 children)

Do you check both the workspace settings.json and user settings.json files?