使用 WebStorm 安装 Python 插件

Installing Python plugin with WebStorm

有没有办法在 WebStorm 上安装 Python 插件?

一些 Whosebug 帖子说转到项目设置(或项目结构),然后转到 "modules",但我认为这仅适用于 IntelliJ 而不是专门针对 WebStorm,因为我似乎找不到它。

我也下载了 https://plugins.jetbrains.com/plugin/631-python,但是当我尝试 "Install plugin from disk" .zip 文件时,它显示

plugin python is not compatible with this installation.

这是不可能的:此插件与 WebStorm 不兼容(因为 WebStorm 没有 Python 插件所需的其他 plugins/functionality)。

受支持的 IDE 列表清楚地写在该页面的顶部:


如果您需要 完整的 Python 支持,请查看 PyCharm -- JetBrains IDE for Python: https://www.jetbrains.com/pycharm/

如果您只想 Python 代码的一些语法着色:看看这个答案:

另外:https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000634624-Python-support-for-webstorm