How can I get VS's python syntax highlighting in VS code?

前端 未结 7 1081
终归单人心
终归单人心 2021-02-08 14:20

It seems like VS Community with python tools has a better syntax highlighting than VS Code with \"Python\" by Don Jayamanne. As you can see in the picture attached, VS Community

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-08 14:35

    I ran into the same issue and some VS Code themes are not supporting syntax highlighting atleast for me. I tried with Ruby and Python and the theme I was using was Dark(Visual Studio).

    Changing to Dark+ (Default Dark) did the trick for me.

    Goto Preferences -> Color Themes and choose Dark+(Default Dark) or something similar.

    Hope it helps.

提交回复
热议问题