How to provide Python syntax coloring inside Webstorm?

前端 未结 3 967
走了就别回头了
走了就别回头了 2021-02-05 02:26

I have a Python project, and I use WebStorm as my Editor. The problem is that Python\'s syntax doesn\'t get colored.

How can I display Python pages with a nice syntax?

3条回答
  •  别那么骄傲
    2021-02-05 02:46

    Python might be missing in Preferences -> Editor -> File Types. After adding the Python, make sure to add a *.py registered pattern.

提交回复
热议问题